1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-07 15:16:41 +02:00

Updating Bukkit: CB #1858, B #1334

This commit is contained in:
KHobbits
2012-02-25 17:57:26 +00:00
committed by snowleo
parent 149b4855a6
commit 3d01a66489
4 changed files with 19 additions and 6 deletions

View File

@@ -66,7 +66,7 @@ import org.yaml.snakeyaml.error.YAMLException;
public class Essentials extends JavaPlugin implements IEssentials public class Essentials extends JavaPlugin implements IEssentials
{ {
public static final int BUKKIT_VERSION = 1938; public static final int BUKKIT_VERSION = 1958;
private static final Logger LOGGER = Logger.getLogger("Minecraft"); private static final Logger LOGGER = Logger.getLogger("Minecraft");
private transient ISettings settings; private transient ISettings settings;
private final transient TNTExplodeListener tntListener = new TNTExplodeListener(this); private final transient TNTExplodeListener tntListener = new TNTExplodeListener(this);

View File

@@ -172,11 +172,6 @@ public class OfflinePlayer implements Player
return false; return false;
} }
public boolean isPlayer()
{
return false;
}
@Override @Override
public int getRemainingAir() public int getRemainingAir()
{ {
@@ -901,4 +896,16 @@ public class OfflinePlayer implements Player
{ {
throw new UnsupportedOperationException("Not supported yet."); throw new UnsupportedOperationException("Not supported yet.");
} }
@Override
public <T extends Projectile> T launchProjectile(Class<? extends T> arg0)
{
throw new UnsupportedOperationException("Not supported yet.");
}
@Override
public EntityType getType()
{
return EntityType.PLAYER;
}
} }

View File

@@ -584,4 +584,10 @@ public class FakeWorld implements World
{ {
throw new UnsupportedOperationException("Not supported yet."); throw new UnsupportedOperationException("Not supported yet.");
} }
@Override
public LivingEntity spawnCreature(Location arg0, EntityType arg1)
{
throw new UnsupportedOperationException("Not supported yet.");
}
} }

Binary file not shown.