mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 15:18:34 +01:00
Made Update info appear later
This commit is contained in:
parent
c5f11fb380
commit
65692d2eed
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ public class UpdateCheckerClientNotifier{
|
|||
@SubscribeEvent(receiveCanceled = true)
|
||||
public void onTick(TickEvent.ClientTickEvent event){
|
||||
//Don't notify directly to prevent the Message getting lost in Spam on World Joining
|
||||
if(Minecraft.getSystemTime()%200 == 0 && !notified && UpdateChecker.doneChecking && Minecraft.getMinecraft().thePlayer != null){
|
||||
if(Minecraft.getSystemTime()%300 == 0 && !notified && UpdateChecker.doneChecking && Minecraft.getMinecraft().thePlayer != null){
|
||||
EntityPlayer player = Minecraft.getMinecraft().thePlayer;
|
||||
if(UpdateChecker.checkFailed){
|
||||
player.addChatComponentMessage(IChatComponent.Serializer.func_150699_a(StringUtil.localize("info."+ModUtil.MOD_ID_LOWER+".update.failed.desc")));
|
||||
|
|
Loading…
Reference in a new issue