Port to 1.11

This commit is contained in:
yueh
2016-12-08 12:42:00 +01:00
parent 589730bfad
commit ed9e6dd21c
262 changed files with 4027 additions and 3954 deletions
@@ -82,7 +82,7 @@ public class ServerHelper extends CommonHelper
if( server != null )
{
return (List) server.getPlayerList().getPlayerList();
return (List) server.getPlayerList().getPlayers();
}
}
@@ -101,7 +101,7 @@ public class ServerHelper extends CommonHelper
{
final EntityPlayerMP entityplayermp = (EntityPlayerMP) o;
if( entityplayermp != p && entityplayermp.worldObj == w )
if( entityplayermp != p && entityplayermp.world == w )
{
final double dX = x - entityplayermp.posX;
final double dY = y - entityplayermp.posY;
@@ -116,7 +116,7 @@ public class ServerHelper extends CommonHelper
}
@Override
public void spawnEffect( final EffectType type, final World worldObj, final double posX, final double posY, final double posZ, final Object o )
public void spawnEffect( final EffectType type, final World world, final double posX, final double posY, final double posZ, final Object o )
{
// :P
}