Added new methods to replace deprecation in latest Bukkit. Commented out

until RB.
This commit is contained in:
GJ
2012-06-23 12:13:30 -04:00
parent 6b84d39dda
commit c4cd677021
2 changed files with 3 additions and 0 deletions

View File

@ -55,6 +55,7 @@ public class CallOfTheWildEventHandler {
}
protected void spawnCreature() {
// LivingEntity entity = (LivingEntity) player.getWorld().spawnEntity(player.getLocation(), type);
LivingEntity entity = player.getWorld().spawnCreature(player.getLocation(), type);
entity.setMetadata("mcmmoSummoned", new FixedMetadataValue(mcMMO.p, true));