Improved jump block logs for ForgeMultipart

This commit is contained in:
Unknown 2019-06-09 19:55:18 +02:00 committed by unknown
parent b24dcfdf1b
commit 992cd885e3

View file

@ -339,6 +339,10 @@ public class JumpBlock {
&& nbtToDeploy.hasKey("id")
&& nbtToDeploy.getString("id").equals("savedMultipart") ) {
isForgeMultipart = true;
if (WarpDriveConfig.LOGGING_JUMPBLOCKS) {
WarpDrive.logger.info(String.format("%s deploy: TileEntity is ForgeMultipart",
this ));
}
newTileEntity = (TileEntity) CompatForgeMultipart.methodMultipartHelper_createTileFromNBT.invoke(null, worldTarget, nbtToDeploy);
}