Added bonemeal to the list of items that modifies blocks.

This commit is contained in:
Matthew Miller 2018-12-09 16:44:51 +10:00
parent aea129889c
commit 6dbd731c92
2 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,6 @@ public static WorldGuardPlugin inst() {
* Called on plugin enable.
*/
@Override
@SuppressWarnings("deprecation")
public void onEnable() {
configureLogger();

View File

@ -454,6 +454,7 @@ public final class Materials {
MATERIAL_FLAGS.put(Material.PINK_DYE, MODIFIES_BLOCKS);
MATERIAL_FLAGS.put(Material.PURPLE_DYE, MODIFIES_BLOCKS);
MATERIAL_FLAGS.put(Material.COCOA_BEANS, MODIFIES_BLOCKS);
MATERIAL_FLAGS.put(Material.BONE_MEAL, MODIFIES_BLOCKS);
MATERIAL_FLAGS.put(Material.BONE, 0);
MATERIAL_FLAGS.put(Material.SUGAR, 0);
MATERIAL_FLAGS.put(Material.COOKIE, 0);