Improved guide message when we're not ready to jump

This commit is contained in:
LemADEC 2016-04-23 00:09:58 +02:00
parent a9ccd1a610
commit dad3bd7b5c

View file

@ -231,7 +231,7 @@ public class JumpShip {
IBlockTransformer blockTransformer = WarpDriveConfig.blockTransformers.get(external.getKey());
if (blockTransformer != null) {
if (!blockTransformer.isJumpReady(jumpBlock.block, jumpBlock.blockMeta, jumpBlock.blockTileEntity, reason)) {
reason.append(" " + jumpBlock.block + "@" + jumpBlock.blockMeta + " at " + jumpBlock.x + " " + jumpBlock.y + " " + jumpBlock.z);
reason.append(" Jump aborted by " + jumpBlock.block.getLocalizedName() + " at " + jumpBlock.x + " " + jumpBlock.y + " " + jumpBlock.z);
return false;
}
}