From 32132b5b0ab7bca6bebb4280036eb0ecad093c21 Mon Sep 17 00:00:00 2001 From: wizjany Date: Wed, 11 Mar 2015 01:46:55 -0400 Subject: [PATCH] Protect against spawn egg usage. Fixes WORLDGUARD-3347. --- src/main/java/com/sk89q/worldguard/bukkit/util/Materials.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/sk89q/worldguard/bukkit/util/Materials.java b/src/main/java/com/sk89q/worldguard/bukkit/util/Materials.java index 7072804b..32b706c4 100644 --- a/src/main/java/com/sk89q/worldguard/bukkit/util/Materials.java +++ b/src/main/java/com/sk89q/worldguard/bukkit/util/Materials.java @@ -402,7 +402,7 @@ public final class Materials { MATERIAL_FLAGS.put(Material.CAULDRON_ITEM, 0); MATERIAL_FLAGS.put(Material.EYE_OF_ENDER, 0); MATERIAL_FLAGS.put(Material.SPECKLED_MELON, 0); - MATERIAL_FLAGS.put(Material.MONSTER_EGG, 0); + MATERIAL_FLAGS.put(Material.MONSTER_EGG, MODIFIES_BLOCKS); MATERIAL_FLAGS.put(Material.EXP_BOTTLE, 0); MATERIAL_FLAGS.put(Material.FIREBALL, 0); MATERIAL_FLAGS.put(Material.BOOK_AND_QUILL, 0);