bloodmc/GriefDefender

[BUG] NoSuchFieldError: Grass

kieranlee999 opened this issue · 2 comments

Grief Defender - 2.4.7
Spigot on Ubuntu Server

When trying to abandon claim I am getting the following error:

[19:02:09] [Server thread/INFO]: M6AYW issued server command: /griefdefender [19:02:12] [pool-12-thread-2/WARN]: Exception in thread "pool-12-thread-2" java.lang.NoSuchFieldError: GRASS [19:02:12] [pool-12-thread-2/WARN]: at com.griefdefender.gui.inventory.InventoryGui.sendConfirmMenu(InventoryGui.java:699) [19:02:12] [pool-12-thread-2/WARN]: at com.griefdefender.GriefDefenderPlugin.lambda$sendMessage$24(GriefDefenderPlugin.java:2048) [19:02:12] [pool-12-thread-2/WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [19:02:12] [pool-12-thread-2/WARN]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [19:02:12] [pool-12-thread-2/WARN]: at java.base/java.lang.Thread.run(Thread.java:840)

We are able to make the claim but in order to delete it it has to be done manually through SSH on the server.

I think Line 84 needs to be changed to short_grass

public static final Context TARGET_GRASS= new Context(ContextKeys.TARGET, "minecraft:grass");