From 992cd885e372ba3fe5140f769d518bb7cc6cbbea Mon Sep 17 00:00:00 2001 From: Unknown Date: Sun, 9 Jun 2019 19:55:18 +0200 Subject: [PATCH] Improved jump block logs for ForgeMultipart --- src/main/java/cr0s/warpdrive/data/JumpBlock.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/cr0s/warpdrive/data/JumpBlock.java b/src/main/java/cr0s/warpdrive/data/JumpBlock.java index 3568f7f0..a11021f3 100644 --- a/src/main/java/cr0s/warpdrive/data/JumpBlock.java +++ b/src/main/java/cr0s/warpdrive/data/JumpBlock.java @@ -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); }