Fixed log spam when loading transporter core in single player
This commit is contained in:
parent
6365b3ab98
commit
a0b2c005d1
1 changed files with 4 additions and 2 deletions
|
@ -254,8 +254,10 @@ public class MessageTransporterEffect implements IMessage, IMessageHandler<Messa
|
|||
|
||||
final TileEntity tileEntity = vTransporter.getTileEntity(world);
|
||||
if (!(tileEntity instanceof TileEntityTransporterCore)) {
|
||||
WarpDrive.logger.error(String.format("Missing transporter core at %s: %s",
|
||||
vTransporter, tileEntity));
|
||||
if (WarpDrive.isDev) {
|
||||
WarpDrive.logger.warn(String.format("Missing transporter core at %s, is chunk loaded yet? %s",
|
||||
vTransporter, tileEntity));
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue