mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-12-23 03:49:22 +01:00
Made Update Messages show a bit earlier
This commit is contained in:
parent
7690f6aa73
commit
7304619c32
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ public class UpdateChecker{
|
|||
@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() % 300 == 0 && !notified && doneChecking && Minecraft.getMinecraft().thePlayer != null){
|
||||
if(Minecraft.getSystemTime() % 200 == 0 && !notified && doneChecking && Minecraft.getMinecraft().thePlayer != null){
|
||||
EntityPlayer player = Minecraft.getMinecraft().thePlayer;
|
||||
if(checkFailed){
|
||||
player.addChatComponentMessage(IChatComponent.Serializer.func_150699_a(StatCollector.translateToLocal("info." + ModUtil.MOD_ID_LOWER + ".update.failed.desc")));
|
||||
|
|
Loading…
Reference in a new issue