Port to 1.11
This commit is contained in:
@@ -90,12 +90,12 @@ public class ChunkLogger implements ISubCommand
|
||||
if( this.enabled )
|
||||
{
|
||||
MinecraftForge.EVENT_BUS.register( this );
|
||||
sender.addChatMessage( new TextComponentTranslation( "commands.ae2.ChunkLoggerOn" ) );
|
||||
sender.sendMessage( new TextComponentTranslation( "commands.ae2.ChunkLoggerOn" ) );
|
||||
}
|
||||
else
|
||||
{
|
||||
MinecraftForge.EVENT_BUS.unregister( this );
|
||||
sender.addChatMessage( new TextComponentTranslation( "commands.ae2.ChunkLoggerOff" ) );
|
||||
sender.sendMessage( new TextComponentTranslation( "commands.ae2.ChunkLoggerOff" ) );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -41,6 +41,6 @@ public class Supporters implements ISubCommand
|
||||
public void call( final MinecraftServer srv, final String[] data, final ICommandSender sender )
|
||||
{
|
||||
final String[] who = { "Stig Halvorsen", "Josh Ricker", "Jenny \"Othlon\" Sutherland", "Hristo Bogdanov", "BevoLJ" };
|
||||
sender.addChatMessage( new TextComponentString( "Special thanks to " + Joiner.on( ", " ).join( who ) ) );
|
||||
sender.sendMessage( new TextComponentString( "Special thanks to " + Joiner.on( ", " ).join( who ) ) );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user