Change WorldServer.allPlayersSleeping to public, and remove the SideOnly annotation on EntityPlayer.getSleepTimer() Closes #393

This commit is contained in:
LexManos 2013-01-28 18:12:29 -08:00
parent 40392216b3
commit 4299aa22ff
2 changed files with 12 additions and 3 deletions

View file

@ -126,6 +126,7 @@ public yc.o #FD:World/field_73018_p #prevThunderingStrength
public ayp.b(Llq;)V #MD:WorldClient/func_72847_b #releaseEntitySkin
#WorldServer
public in.b(Llq;)V #MD:WorldServer/func_72847_b #releaseEntitySkin
public in.N #FD:WorldServer/field_73068_P #allPlayersSleeping
# ChunkCache
public ys.e # FD:ChunkCache/field_72815_e # worldObj
# InventoryLargeChest

View file

@ -314,7 +314,15 @@
switch (var2)
{
@@ -1846,7 +1953,7 @@
@@ -1571,7 +1678,6 @@
return this.sleeping && this.sleepTimer >= 100;
}
- @SideOnly(Side.CLIENT)
public int getSleepTimer()
{
return this.sleepTimer;
@@ -1846,7 +1952,7 @@
{
if (par1ItemStack.getItem().requiresMultipleRenderPasses())
{
@ -323,7 +331,7 @@
}
if (this.itemInUse != null && par1ItemStack.itemID == Item.bow.itemID)
@@ -1868,6 +1975,7 @@
@@ -1868,6 +1974,7 @@
return 101;
}
}
@ -331,7 +339,7 @@
}
return var3;
@@ -2088,6 +2196,14 @@
@@ -2088,6 +2195,14 @@
}
this.theInventoryEnderChest = par1EntityPlayer.theInventoryEnderChest;