diff --git a/pom.xml b/pom.xml index 2c152b9..c943cc3 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 io.github.totemo Doppelganger - 0.9.1 + 0.9.2 jar Doppelganger diff --git a/src/io/github/totemo/doppelganger/CreatureFactory.java b/src/io/github/totemo/doppelganger/CreatureFactory.java index 6a03a7a..2517100 100644 --- a/src/io/github/totemo/doppelganger/CreatureFactory.java +++ b/src/io/github/totemo/doppelganger/CreatureFactory.java @@ -440,6 +440,10 @@ protected LivingEntity spawnCreature(String creatureType, Location loc, String n } } } + + // Players should not be able to get a doppelganger's head (or other gear) + // just by dropping items near it. + livingEntity.setCanPickupItems(false); return livingEntity; } // spawnCreature