Changed to Correct mapping from exportToItemStack to spawnAtLocation

This commit is contained in:
lucsoft
2021-05-29 19:41:16 +02:00
parent c03b7da004
commit ab2db1ef76

View File

@@ -223,7 +223,7 @@ public final class RobotEntity extends Entity implements Robot {
final ItemStack stack = new ItemStack(Items.ROBOT.get());
exportToItemStack(stack);
exportToItemStack(stack);
spawnAtLocation(stack);
remove();
WorldUtils.playSound(level, blockPosition(), SoundType.METAL, SoundType::getBreakSound);