Prevent mobs from picking up dropped items and blocks. Fixes #344
This commit is contained in:
@@ -120,6 +120,7 @@ public class MACreature
|
||||
public LivingEntity spawn(Arena arena, World world, Location loc) {
|
||||
LivingEntity e = (LivingEntity) world.spawnEntity(loc, type);
|
||||
e.getEquipment().clear();
|
||||
e.setCanPickupItems(false);
|
||||
|
||||
switch (this.name) {
|
||||
case "sheep":
|
||||
|
||||
Reference in New Issue
Block a user