ItemSoulstoneFilled:

-Set the cloned entity's dimension when spawned from a filled soul stone
This commit is contained in:
Luis C.M committed 2023-07-27 23:05:10 -05:00
1 parent f33260cf2d
commit 401d59115f
1 file changed
+1
@@ -76,6 +76,7 @@ public class ItemSoulstoneFilled extends Item {
if(entity == null)
return false;
entity.setPosition(x + 0.5, y + 1 + 0.2F, z + 0.5);
entity.dimension = world.provider.dimensionId;
if(ConfigDebug.PlayerLogging && FMLCommonHandler.instance().getEffectiveSide() == Side.SERVER){
LogWriter.script(String.format("[%s] %s PLACED ENTITY %s", "SOULSTONE", player.getCommandSenderName(), entity));
}