diff options
author | KHobbits <rob@khobbits.co.uk> | 2012-12-19 12:52:05 +0000 |
---|---|---|
committer | KHobbits <rob@khobbits.co.uk> | 2012-12-19 12:52:05 +0000 |
commit | 9ba5f43315238795b2d3c25a306a2ad2f3b35a2f (patch) | |
tree | 6aeed1e44a2e74fb6d76631e5a7fde1a2f6a385e | |
parent | 74d5590d3b444de56dcd605352823b4cfd70f6fc (diff) | |
download | Essentials-9ba5f43315238795b2d3c25a306a2ad2f3b35a2f.tar Essentials-9ba5f43315238795b2d3c25a306a2ad2f3b35a2f.tar.gz Essentials-9ba5f43315238795b2d3c25a306a2ad2f3b35a2f.tar.lz Essentials-9ba5f43315238795b2d3c25a306a2ad2f3b35a2f.tar.xz Essentials-9ba5f43315238795b2d3c25a306a2ad2f3b35a2f.zip |
Updating Bukkit to 1.4.5 RB
Bukkit: 1643 CB: 2543
-rw-r--r-- | Essentials/nbproject/project.properties | 2 | ||||
-rw-r--r-- | Essentials/src/com/earth2me/essentials/OfflinePlayer.java | 41 | ||||
-rw-r--r-- | Essentials/src/com/earth2me/essentials/craftbukkit/FakeInventory.java | 6 | ||||
-rw-r--r-- | Essentials/src/com/earth2me/essentials/craftbukkit/FakeWorld.java | 6 | ||||
-rw-r--r-- | Essentials/test/com/earth2me/essentials/FakeServer.java | 17 | ||||
-rw-r--r-- | lib/bukkit.jar | bin | 4801660 -> 4820949 bytes | |||
-rw-r--r-- | lib/craftbukkit.jar | bin | 12084211 -> 12472010 bytes |
7 files changed, 63 insertions, 9 deletions
diff --git a/Essentials/nbproject/project.properties b/Essentials/nbproject/project.properties index 4b2583bd9..40b0ae9b6 100644 --- a/Essentials/nbproject/project.properties +++ b/Essentials/nbproject/project.properties @@ -99,7 +99,7 @@ javac.classpath=\ ${file.reference.Privileges.jar}:\ ${file.reference.bpermissions2.jar} # Space-separated list of extra javac options -javac.compilerargs= +javac.compilerargs=-Xlint:unchecked javac.deprecation=false javac.processorpath=\ ${javac.classpath} diff --git a/Essentials/src/com/earth2me/essentials/OfflinePlayer.java b/Essentials/src/com/earth2me/essentials/OfflinePlayer.java index 571873384..a47b32582 100644 --- a/Essentials/src/com/earth2me/essentials/OfflinePlayer.java +++ b/Essentials/src/com/earth2me/essentials/OfflinePlayer.java @@ -11,11 +11,8 @@ import org.bukkit.conversations.ConversationAbandonedEvent; import org.bukkit.entity.*; import org.bukkit.event.entity.EntityDamageEvent; import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause; -import org.bukkit.inventory.Inventory; -import org.bukkit.inventory.InventoryView; +import org.bukkit.inventory.*; import org.bukkit.inventory.InventoryView.Property; -import org.bukkit.inventory.ItemStack; -import org.bukkit.inventory.PlayerInventory; import org.bukkit.map.MapView; import org.bukkit.metadata.MetadataValue; import org.bukkit.permissions.Permission; @@ -1117,4 +1114,40 @@ public class OfflinePlayer implements Player { throw new UnsupportedOperationException("Not supported yet."); } + + @Override + public boolean getRemoveWhenFarAway() + { + throw new UnsupportedOperationException("Not supported yet."); + } + + @Override + public void setRemoveWhenFarAway(boolean bln) + { + throw new UnsupportedOperationException("Not supported yet."); + } + + @Override + public EntityEquipment getEquipment() + { + throw new UnsupportedOperationException("Not supported yet."); + } + + @Override + public void setCanPickupItems(boolean bln) + { + throw new UnsupportedOperationException("Not supported yet."); + } + + @Override + public boolean getCanPickupItems() + { + throw new UnsupportedOperationException("Not supported yet."); + } + + @Override + public Location getLocation(Location lctn) + { + throw new UnsupportedOperationException("Not supported yet."); + } } diff --git a/Essentials/src/com/earth2me/essentials/craftbukkit/FakeInventory.java b/Essentials/src/com/earth2me/essentials/craftbukkit/FakeInventory.java index 8456c956e..014fe2f65 100644 --- a/Essentials/src/com/earth2me/essentials/craftbukkit/FakeInventory.java +++ b/Essentials/src/com/earth2me/essentials/craftbukkit/FakeInventory.java @@ -240,4 +240,10 @@ public class FakeInventory implements Inventory { throw new UnsupportedOperationException("Not supported yet."); } + + @Override + public boolean containsAtLeast(ItemStack is, int i) + { + throw new UnsupportedOperationException("Not supported yet."); + } } diff --git a/Essentials/src/com/earth2me/essentials/craftbukkit/FakeWorld.java b/Essentials/src/com/earth2me/essentials/craftbukkit/FakeWorld.java index 7239ea475..df7a237fa 100644 --- a/Essentials/src/com/earth2me/essentials/craftbukkit/FakeWorld.java +++ b/Essentials/src/com/earth2me/essentials/craftbukkit/FakeWorld.java @@ -735,4 +735,10 @@ public class FakeWorld implements World { throw new UnsupportedOperationException("Not supported yet."); } + + @Override + public boolean createExplosion(double d, double d1, double d2, float f, boolean bln, boolean bln1) + { + throw new UnsupportedOperationException("Not supported yet."); + } } diff --git a/Essentials/test/com/earth2me/essentials/FakeServer.java b/Essentials/test/com/earth2me/essentials/FakeServer.java index e8b8ce01c..5d2ff0c88 100644 --- a/Essentials/test/com/earth2me/essentials/FakeServer.java +++ b/Essentials/test/com/earth2me/essentials/FakeServer.java @@ -16,10 +16,7 @@ import org.bukkit.command.PluginCommand; import org.bukkit.entity.Player; import org.bukkit.event.inventory.InventoryType; import org.bukkit.help.HelpMap; -import org.bukkit.inventory.Inventory; -import org.bukkit.inventory.InventoryHolder; -import org.bukkit.inventory.ItemStack; -import org.bukkit.inventory.Recipe; +import org.bukkit.inventory.*; import org.bukkit.map.MapView; import org.bukkit.plugin.Plugin; import org.bukkit.plugin.PluginManager; @@ -807,4 +804,16 @@ public class FakeServer implements Server { throw new UnsupportedOperationException("Not supported yet."); } + + @Override + public String getShutdownMessage() + { + throw new UnsupportedOperationException("Not supported yet."); + } + + @Override + public ItemFactory getItemFactory() + { + throw new UnsupportedOperationException("Not supported yet."); + } } diff --git a/lib/bukkit.jar b/lib/bukkit.jar Binary files differindex fd485b938..7abca416e 100644 --- a/lib/bukkit.jar +++ b/lib/bukkit.jar diff --git a/lib/craftbukkit.jar b/lib/craftbukkit.jar Binary files differindex 445b25563..6f375cc83 100644 --- a/lib/craftbukkit.jar +++ b/lib/craftbukkit.jar |