Witam, w konsoli pojawia się taki błąd:
[22:24:08 WARN]: java.lang.Throwable: Warning: A plugin is creating a recipe using a Deprecated method. This will cause you to receive warnings stating 'Tried to load unrecognized recipe: bukkit:<ID>'. Please ask the author to give their recipe a static key using NamespacedKey.
Mój skrypt jest taki:
options:
craft1: lapis block
craft2: lapis block
craft3: lapis block
craft4: lapis block
craft5: lapis block
craft6: lapis block
craft7: lapis block
craft8: lapis block
craft9: lapis block
on break of stone:
{SmartStone.%event-block%} is true:
player is holding gold pickaxe:
set {SmartStone.%event-block%} to false
send "&8» &6Usunales stoniarke!"
player can hold 1 end stone:
give 1 end stone named "&aStoniarka" to the player
player doesn't have enough space for 1 end stone named "&aStoniarka":
drop 1 end stone named "&aStoniarka"
else:
wait 2 second
set the event-block to stone
stop
on place of end stone:
if tool is end stone named "&aStoniarka":
send "&8» &6Postawiles stoniarke!"
set {SmartStone.%event-block%} to true
wait 1 tick
set event-block to stone
stop
on load:
register new shaped recipe for 1 end stone named "&aStoniarka" using lapis block, lapis block, lapis block, lapis block, lapis block, lapis block, lapis block, lapis block, lapis block
Jak mam zrobić, aby taki błąd nie występował?
Jak zwykle daje +