Skip to content
Browse files

Chicken Burger, Chicken nuggets, Chicken in red wine...

---start behaving chickens, or I'll preheat the oven!
* re #4028
  • Loading branch information...
HenryLoenwind committed Feb 3, 2017
1 parent 6e46912 commit f953e2fec556808b40874553d264f7e5ae0a5691
Showing with 6 additions and 1 deletion.
  1. +6 −1 src/main/java/crazypants/util/
@@ -284,7 +284,12 @@ public boolean spawn(@Nullable World world, @Nullable BlockPos pos, @Nullable En

if (entityNbt != null && (clone || isUnspawnable(entityId))) {
return EntityList.createEntityFromNBT(entityNbt, world);
final Entity entity = EntityList.createEntityFromNBT(entityNbt, world);
if (!clone) {
// The caller doesn't expect a clone, but we return one. Give it a unique/new ID to avoid problems with duplicate entities.
return entity;

Entity entity = EntityList.createEntityByName(entityId, world);

0 comments on commit f953e2f

Please sign in to comment.
You can’t perform that action at this time.