mirror of
https://github.com/GTNewHorizons/Mantle.git
synced 2026-11-19 03:39:18 +00:00
Begin Mantle's update to 1.11. Not everything is 100% completed.
This commit is contained in:
1 parent
952778fad6
commit
1ccbee7720
36 files changed
+271
-207
No files matched your search
@@ -43,12 +43,12 @@ class ExampleSync {
|
||||
@SubscribeEvent
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void playerJoinedWorld(TickEvent.ClientTickEvent event) {
|
||||
EntityPlayerSP player = Minecraft.getMinecraft().thePlayer;
|
||||
EntityPlayerSP player = Minecraft.getMinecraft().player;
|
||||
if(needsRestart) {
|
||||
player.addChatMessage(new TextComponentString("Configs synced with server. Configs require a restart"));
|
||||
player.sendMessage(new TextComponentString("Configs synced with server. Configs require a restart"));
|
||||
}
|
||||
else {
|
||||
player.addChatMessage(new TextComponentString("Configs synced with server."));
|
||||
player.sendMessage(new TextComponentString("Configs synced with server."));
|
||||
}
|
||||
MinecraftForge.EVENT_BUS.unregister(this);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user