Fix potential memory leak

This commit is contained in:
filoghost 2021-06-20 14:12:53 +02:00
parent 31f0ba206d
commit 46b4fd6bd7
42 changed files with 84 additions and 0 deletions

View File

@ -10,6 +10,7 @@ import org.bukkit.Location;
import org.bukkit.craftbukkit.v1_10_R1.CraftServer;
import org.bukkit.craftbukkit.v1_10_R1.entity.CraftArmorStand;
import org.bukkit.entity.Entity;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import org.bukkit.inventory.ItemStack;
import org.bukkit.potion.PotionEffect;
@ -73,6 +74,7 @@ public class CraftNMSArmorStand extends CraftArmorStand {
@Override public void playEffect(EntityEffect effect) {}
@Override public void setCustomName(String name) {}
@Override public void setCustomNameVisible(boolean flag) {}
@Override public void setLastDamageCause(EntityDamageEvent event) {}
@Override public void setGlowing(boolean flag) {}
@Override public void setGravity(boolean gravity) {}
@Override public void setInvulnerable(boolean flag) {}

View File

@ -10,6 +10,7 @@ import org.bukkit.Location;
import org.bukkit.craftbukkit.v1_10_R1.CraftServer;
import org.bukkit.craftbukkit.v1_10_R1.entity.CraftItem;
import org.bukkit.entity.Entity;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import org.bukkit.inventory.ItemStack;
import org.bukkit.util.Vector;
@ -40,6 +41,7 @@ public class CraftNMSItem extends CraftItem {
@Override public void playEffect(EntityEffect effect) {}
@Override public void setCustomName(String name) {}
@Override public void setCustomNameVisible(boolean flag) {}
@Override public void setLastDamageCause(EntityDamageEvent event) {}
@Override public void setGlowing(boolean flag) {}
@Override public void setGravity(boolean gravity) {}
@Override public void setInvulnerable(boolean flag) {}

View File

@ -10,6 +10,7 @@ import org.bukkit.Location;
import org.bukkit.craftbukkit.v1_10_R1.CraftServer;
import org.bukkit.craftbukkit.v1_10_R1.entity.CraftSlime;
import org.bukkit.entity.Entity;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import org.bukkit.potion.PotionEffect;
import org.bukkit.util.Vector;
@ -53,6 +54,7 @@ public class CraftNMSSlime extends CraftSlime {
@Override public void playEffect(EntityEffect effect) {}
@Override public void setCustomName(String name) {}
@Override public void setCustomNameVisible(boolean flag) {}
@Override public void setLastDamageCause(EntityDamageEvent event) {}
@Override public void setGlowing(boolean flag) {}
@Override public void setGravity(boolean gravity) {}
@Override public void setInvulnerable(boolean flag) {}

View File

@ -10,6 +10,7 @@ import org.bukkit.Location;
import org.bukkit.craftbukkit.v1_11_R1.CraftServer;
import org.bukkit.craftbukkit.v1_11_R1.entity.CraftArmorStand;
import org.bukkit.entity.Entity;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import org.bukkit.inventory.ItemStack;
import org.bukkit.potion.PotionEffect;
@ -73,6 +74,7 @@ public class CraftNMSArmorStand extends CraftArmorStand {
@Override public void playEffect(EntityEffect effect) {}
@Override public void setCustomName(String name) {}
@Override public void setCustomNameVisible(boolean flag) {}
@Override public void setLastDamageCause(EntityDamageEvent event) {}
@Override public void setGlowing(boolean flag) {}
@Override public void setGravity(boolean gravity) {}
@Override public void setInvulnerable(boolean flag) {}

View File

@ -10,6 +10,7 @@ import org.bukkit.Location;
import org.bukkit.craftbukkit.v1_11_R1.CraftServer;
import org.bukkit.craftbukkit.v1_11_R1.entity.CraftItem;
import org.bukkit.entity.Entity;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import org.bukkit.inventory.ItemStack;
import org.bukkit.util.Vector;
@ -40,6 +41,7 @@ public class CraftNMSItem extends CraftItem {
@Override public void playEffect(EntityEffect effect) {}
@Override public void setCustomName(String name) {}
@Override public void setCustomNameVisible(boolean flag) {}
@Override public void setLastDamageCause(EntityDamageEvent event) {}
@Override public void setGlowing(boolean flag) {}
@Override public void setGravity(boolean gravity) {}
@Override public void setInvulnerable(boolean flag) {}

View File

@ -10,6 +10,7 @@ import org.bukkit.Location;
import org.bukkit.craftbukkit.v1_11_R1.CraftServer;
import org.bukkit.craftbukkit.v1_11_R1.entity.CraftSlime;
import org.bukkit.entity.Entity;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import org.bukkit.potion.PotionEffect;
import org.bukkit.util.Vector;
@ -53,6 +54,7 @@ public class CraftNMSSlime extends CraftSlime {
@Override public void playEffect(EntityEffect effect) {}
@Override public void setCustomName(String name) {}
@Override public void setCustomNameVisible(boolean flag) {}
@Override public void setLastDamageCause(EntityDamageEvent event) {}
@Override public void setGlowing(boolean flag) {}
@Override public void setGravity(boolean gravity) {}
@Override public void setInvulnerable(boolean flag) {}

View File

@ -10,6 +10,7 @@ import org.bukkit.Location;
import org.bukkit.craftbukkit.v1_12_R1.CraftServer;
import org.bukkit.craftbukkit.v1_12_R1.entity.CraftArmorStand;
import org.bukkit.entity.Entity;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import org.bukkit.inventory.ItemStack;
import org.bukkit.potion.PotionEffect;
@ -74,6 +75,7 @@ public class CraftNMSArmorStand extends CraftArmorStand {
@Override public void playEffect(EntityEffect effect) {}
@Override public void setCustomName(String name) {}
@Override public void setCustomNameVisible(boolean flag) {}
@Override public void setLastDamageCause(EntityDamageEvent event) {}
@Override public void setGlowing(boolean flag) {}
@Override public void setGravity(boolean gravity) {}
@Override public void setInvulnerable(boolean flag) {}

View File

@ -10,6 +10,7 @@ import org.bukkit.Location;
import org.bukkit.craftbukkit.v1_12_R1.CraftServer;
import org.bukkit.craftbukkit.v1_12_R1.entity.CraftItem;
import org.bukkit.entity.Entity;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import org.bukkit.inventory.ItemStack;
import org.bukkit.util.Vector;
@ -40,6 +41,7 @@ public class CraftNMSItem extends CraftItem {
@Override public void playEffect(EntityEffect effect) {}
@Override public void setCustomName(String name) {}
@Override public void setCustomNameVisible(boolean flag) {}
@Override public void setLastDamageCause(EntityDamageEvent event) {}
@Override public void setGlowing(boolean flag) {}
@Override public void setGravity(boolean gravity) {}
@Override public void setInvulnerable(boolean flag) {}

View File

@ -10,6 +10,7 @@ import org.bukkit.Location;
import org.bukkit.craftbukkit.v1_12_R1.CraftServer;
import org.bukkit.craftbukkit.v1_12_R1.entity.CraftSlime;
import org.bukkit.entity.Entity;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import org.bukkit.potion.PotionEffect;
import org.bukkit.util.Vector;
@ -53,6 +54,7 @@ public class CraftNMSSlime extends CraftSlime {
@Override public void playEffect(EntityEffect effect) {}
@Override public void setCustomName(String name) {}
@Override public void setCustomNameVisible(boolean flag) {}
@Override public void setLastDamageCause(EntityDamageEvent event) {}
@Override public void setGlowing(boolean flag) {}
@Override public void setGravity(boolean gravity) {}
@Override public void setInvulnerable(boolean flag) {}

View File

@ -10,6 +10,7 @@ import org.bukkit.Location;
import org.bukkit.craftbukkit.v1_13_R1.CraftServer;
import org.bukkit.craftbukkit.v1_13_R1.entity.CraftArmorStand;
import org.bukkit.entity.Entity;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import org.bukkit.inventory.ItemStack;
import org.bukkit.potion.PotionEffect;
@ -75,6 +76,7 @@ public class CraftNMSArmorStand extends CraftArmorStand {
@Override public void playEffect(EntityEffect effect) {}
@Override public void setCustomName(String name) {}
@Override public void setCustomNameVisible(boolean flag) {}
@Override public void setLastDamageCause(EntityDamageEvent event) {}
@Override public void setGlowing(boolean flag) {}
@Override public void setGravity(boolean gravity) {}
@Override public void setInvulnerable(boolean flag) {}

View File

@ -10,6 +10,7 @@ import org.bukkit.Location;
import org.bukkit.craftbukkit.v1_13_R1.CraftServer;
import org.bukkit.craftbukkit.v1_13_R1.entity.CraftItem;
import org.bukkit.entity.Entity;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import org.bukkit.inventory.ItemStack;
import org.bukkit.util.Vector;
@ -40,6 +41,7 @@ public class CraftNMSItem extends CraftItem {
@Override public void playEffect(EntityEffect effect) {}
@Override public void setCustomName(String name) {}
@Override public void setCustomNameVisible(boolean flag) {}
@Override public void setLastDamageCause(EntityDamageEvent event) {}
@Override public void setGlowing(boolean flag) {}
@Override public void setGravity(boolean gravity) {}
@Override public void setInvulnerable(boolean flag) {}

View File

@ -11,6 +11,7 @@ import org.bukkit.craftbukkit.v1_13_R1.CraftServer;
import org.bukkit.craftbukkit.v1_13_R1.entity.CraftSlime;
import org.bukkit.entity.Entity;
import org.bukkit.entity.LivingEntity;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import org.bukkit.potion.PotionEffect;
import org.bukkit.util.Vector;
@ -55,6 +56,7 @@ public class CraftNMSSlime extends CraftSlime {
@Override public void playEffect(EntityEffect effect) {}
@Override public void setCustomName(String name) {}
@Override public void setCustomNameVisible(boolean flag) {}
@Override public void setLastDamageCause(EntityDamageEvent event) {}
@Override public void setGlowing(boolean flag) {}
@Override public void setGravity(boolean gravity) {}
@Override public void setInvulnerable(boolean flag) {}

View File

@ -10,6 +10,7 @@ import org.bukkit.Location;
import org.bukkit.craftbukkit.v1_13_R2.CraftServer;
import org.bukkit.craftbukkit.v1_13_R2.entity.CraftArmorStand;
import org.bukkit.entity.Entity;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import org.bukkit.inventory.ItemStack;
import org.bukkit.potion.PotionEffect;
@ -75,6 +76,7 @@ public class CraftNMSArmorStand extends CraftArmorStand {
@Override public void playEffect(EntityEffect effect) {}
@Override public void setCustomName(String name) {}
@Override public void setCustomNameVisible(boolean flag) {}
@Override public void setLastDamageCause(EntityDamageEvent event) {}
@Override public void setGlowing(boolean flag) {}
@Override public void setGravity(boolean gravity) {}
@Override public void setInvulnerable(boolean flag) {}

View File

@ -10,6 +10,7 @@ import org.bukkit.Location;
import org.bukkit.craftbukkit.v1_13_R2.CraftServer;
import org.bukkit.craftbukkit.v1_13_R2.entity.CraftItem;
import org.bukkit.entity.Entity;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import org.bukkit.inventory.ItemStack;
import org.bukkit.util.Vector;
@ -40,6 +41,7 @@ public class CraftNMSItem extends CraftItem {
@Override public void playEffect(EntityEffect effect) {}
@Override public void setCustomName(String name) {}
@Override public void setCustomNameVisible(boolean flag) {}
@Override public void setLastDamageCause(EntityDamageEvent event) {}
@Override public void setGlowing(boolean flag) {}
@Override public void setGravity(boolean gravity) {}
@Override public void setInvulnerable(boolean flag) {}

View File

@ -11,6 +11,7 @@ import org.bukkit.craftbukkit.v1_13_R2.CraftServer;
import org.bukkit.craftbukkit.v1_13_R2.entity.CraftSlime;
import org.bukkit.entity.Entity;
import org.bukkit.entity.LivingEntity;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import org.bukkit.loot.LootTable;
import org.bukkit.potion.PotionEffect;
@ -56,6 +57,7 @@ public class CraftNMSSlime extends CraftSlime {
@Override public void playEffect(EntityEffect effect) {}
@Override public void setCustomName(String name) {}
@Override public void setCustomNameVisible(boolean flag) {}
@Override public void setLastDamageCause(EntityDamageEvent event) {}
@Override public void setGlowing(boolean flag) {}
@Override public void setGravity(boolean gravity) {}
@Override public void setInvulnerable(boolean flag) {}

View File

@ -10,6 +10,7 @@ import org.bukkit.Location;
import org.bukkit.craftbukkit.v1_14_R1.CraftServer;
import org.bukkit.craftbukkit.v1_14_R1.entity.CraftArmorStand;
import org.bukkit.entity.Entity;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import org.bukkit.inventory.ItemStack;
import org.bukkit.potion.PotionEffect;
@ -74,6 +75,7 @@ public class CraftNMSArmorStand extends CraftArmorStand {
@Override public void playEffect(EntityEffect effect) {}
@Override public void setCustomName(String name) {}
@Override public void setCustomNameVisible(boolean flag) {}
@Override public void setLastDamageCause(EntityDamageEvent event) {}
@Override public void setGlowing(boolean flag) {}
@Override public void setGravity(boolean gravity) {}
@Override public void setInvulnerable(boolean flag) {}

View File

@ -10,6 +10,7 @@ import org.bukkit.Location;
import org.bukkit.craftbukkit.v1_14_R1.CraftServer;
import org.bukkit.craftbukkit.v1_14_R1.entity.CraftItem;
import org.bukkit.entity.Entity;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import org.bukkit.inventory.ItemStack;
import org.bukkit.util.Vector;
@ -44,6 +45,7 @@ public class CraftNMSItem extends CraftItem {
@Override public void playEffect(EntityEffect effect) {}
@Override public void setCustomName(String name) {}
@Override public void setCustomNameVisible(boolean flag) {}
@Override public void setLastDamageCause(EntityDamageEvent event) {}
@Override public void setGlowing(boolean flag) {}
@Override public void setGravity(boolean gravity) {}
@Override public void setInvulnerable(boolean flag) {}

View File

@ -11,6 +11,7 @@ import org.bukkit.craftbukkit.v1_14_R1.CraftServer;
import org.bukkit.craftbukkit.v1_14_R1.entity.CraftSlime;
import org.bukkit.entity.Entity;
import org.bukkit.entity.LivingEntity;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import org.bukkit.loot.LootTable;
import org.bukkit.potion.PotionEffect;
@ -64,6 +65,7 @@ public class CraftNMSSlime extends CraftSlime {
@Override public void playEffect(EntityEffect effect) {}
@Override public void setCustomName(String name) {}
@Override public void setCustomNameVisible(boolean flag) {}
@Override public void setLastDamageCause(EntityDamageEvent event) {}
@Override public void setGlowing(boolean flag) {}
@Override public void setGravity(boolean gravity) {}
@Override public void setInvulnerable(boolean flag) {}

View File

@ -10,6 +10,7 @@ import org.bukkit.Location;
import org.bukkit.craftbukkit.v1_15_R1.CraftServer;
import org.bukkit.craftbukkit.v1_15_R1.entity.CraftArmorStand;
import org.bukkit.entity.Entity;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import org.bukkit.inventory.ItemStack;
import org.bukkit.potion.PotionEffect;
@ -74,6 +75,7 @@ public class CraftNMSArmorStand extends CraftArmorStand {
@Override public void playEffect(EntityEffect effect) {}
@Override public void setCustomName(String name) {}
@Override public void setCustomNameVisible(boolean flag) {}
@Override public void setLastDamageCause(EntityDamageEvent event) {}
@Override public void setGlowing(boolean flag) {}
@Override public void setGravity(boolean gravity) {}
@Override public void setInvulnerable(boolean flag) {}

View File

@ -10,6 +10,7 @@ import org.bukkit.Location;
import org.bukkit.craftbukkit.v1_15_R1.CraftServer;
import org.bukkit.craftbukkit.v1_15_R1.entity.CraftItem;
import org.bukkit.entity.Entity;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import org.bukkit.inventory.ItemStack;
import org.bukkit.util.Vector;
@ -44,6 +45,7 @@ public class CraftNMSItem extends CraftItem {
@Override public void playEffect(EntityEffect effect) {}
@Override public void setCustomName(String name) {}
@Override public void setCustomNameVisible(boolean flag) {}
@Override public void setLastDamageCause(EntityDamageEvent event) {}
@Override public void setGlowing(boolean flag) {}
@Override public void setGravity(boolean gravity) {}
@Override public void setInvulnerable(boolean flag) {}

View File

@ -11,6 +11,7 @@ import org.bukkit.craftbukkit.v1_15_R1.CraftServer;
import org.bukkit.craftbukkit.v1_15_R1.entity.CraftSlime;
import org.bukkit.entity.Entity;
import org.bukkit.entity.LivingEntity;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import org.bukkit.loot.LootTable;
import org.bukkit.potion.PotionEffect;
@ -64,6 +65,7 @@ public class CraftNMSSlime extends CraftSlime {
@Override public void playEffect(EntityEffect effect) {}
@Override public void setCustomName(String name) {}
@Override public void setCustomNameVisible(boolean flag) {}
@Override public void setLastDamageCause(EntityDamageEvent event) {}
@Override public void setGlowing(boolean flag) {}
@Override public void setGravity(boolean gravity) {}
@Override public void setInvulnerable(boolean flag) {}

View File

@ -10,6 +10,7 @@ import org.bukkit.Location;
import org.bukkit.craftbukkit.v1_16_R1.CraftServer;
import org.bukkit.craftbukkit.v1_16_R1.entity.CraftArmorStand;
import org.bukkit.entity.Entity;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import org.bukkit.inventory.ItemStack;
import org.bukkit.potion.PotionEffect;
@ -74,6 +75,7 @@ public class CraftNMSArmorStand extends CraftArmorStand {
@Override public void playEffect(EntityEffect effect) {}
@Override public void setCustomName(String name) {}
@Override public void setCustomNameVisible(boolean flag) {}
@Override public void setLastDamageCause(EntityDamageEvent event) {}
@Override public void setGlowing(boolean flag) {}
@Override public void setGravity(boolean gravity) {}
@Override public void setInvulnerable(boolean flag) {}

View File

@ -10,6 +10,7 @@ import org.bukkit.Location;
import org.bukkit.craftbukkit.v1_16_R1.CraftServer;
import org.bukkit.craftbukkit.v1_16_R1.entity.CraftItem;
import org.bukkit.entity.Entity;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import org.bukkit.inventory.ItemStack;
import org.bukkit.util.Vector;
@ -44,6 +45,7 @@ public class CraftNMSItem extends CraftItem {
@Override public void playEffect(EntityEffect effect) {}
@Override public void setCustomName(String name) {}
@Override public void setCustomNameVisible(boolean flag) {}
@Override public void setLastDamageCause(EntityDamageEvent event) {}
@Override public void setGlowing(boolean flag) {}
@Override public void setGravity(boolean gravity) {}
@Override public void setInvulnerable(boolean flag) {}

View File

@ -11,6 +11,7 @@ import org.bukkit.craftbukkit.v1_16_R1.CraftServer;
import org.bukkit.craftbukkit.v1_16_R1.entity.CraftSlime;
import org.bukkit.entity.Entity;
import org.bukkit.entity.LivingEntity;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import org.bukkit.loot.LootTable;
import org.bukkit.potion.PotionEffect;
@ -64,6 +65,7 @@ public class CraftNMSSlime extends CraftSlime {
@Override public void playEffect(EntityEffect effect) {}
@Override public void setCustomName(String name) {}
@Override public void setCustomNameVisible(boolean flag) {}
@Override public void setLastDamageCause(EntityDamageEvent event) {}
@Override public void setGlowing(boolean flag) {}
@Override public void setGravity(boolean gravity) {}
@Override public void setInvulnerable(boolean flag) {}

View File

@ -10,6 +10,7 @@ import org.bukkit.Location;
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftArmorStand;
import org.bukkit.entity.Entity;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import org.bukkit.inventory.ItemStack;
import org.bukkit.potion.PotionEffect;
@ -74,6 +75,7 @@ public class CraftNMSArmorStand extends CraftArmorStand {
@Override public void playEffect(EntityEffect effect) {}
@Override public void setCustomName(String name) {}
@Override public void setCustomNameVisible(boolean flag) {}
@Override public void setLastDamageCause(EntityDamageEvent event) {}
@Override public void setGlowing(boolean flag) {}
@Override public void setGravity(boolean gravity) {}
@Override public void setInvulnerable(boolean flag) {}

View File

@ -10,6 +10,7 @@ import org.bukkit.Location;
import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftItem;
import org.bukkit.entity.Entity;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import org.bukkit.inventory.ItemStack;
import org.bukkit.util.Vector;
@ -44,6 +45,7 @@ public class CraftNMSItem extends CraftItem {
@Override public void playEffect(EntityEffect effect) {}
@Override public void setCustomName(String name) {}
@Override public void setCustomNameVisible(boolean flag) {}
@Override public void setLastDamageCause(EntityDamageEvent event) {}
@Override public void setGlowing(boolean flag) {}
@Override public void setGravity(boolean gravity) {}
@Override public void setInvulnerable(boolean flag) {}

View File

@ -11,6 +11,7 @@ import org.bukkit.craftbukkit.v1_16_R2.CraftServer;
import org.bukkit.craftbukkit.v1_16_R2.entity.CraftSlime;
import org.bukkit.entity.Entity;
import org.bukkit.entity.LivingEntity;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import org.bukkit.loot.LootTable;
import org.bukkit.potion.PotionEffect;
@ -64,6 +65,7 @@ public class CraftNMSSlime extends CraftSlime {
@Override public void playEffect(EntityEffect effect) {}
@Override public void setCustomName(String name) {}
@Override public void setCustomNameVisible(boolean flag) {}
@Override public void setLastDamageCause(EntityDamageEvent event) {}
@Override public void setGlowing(boolean flag) {}
@Override public void setGravity(boolean gravity) {}
@Override public void setInvulnerable(boolean flag) {}

View File

@ -10,6 +10,7 @@ import org.bukkit.Location;
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftArmorStand;
import org.bukkit.entity.Entity;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import org.bukkit.inventory.ItemStack;
import org.bukkit.potion.PotionEffect;
@ -74,6 +75,7 @@ public class CraftNMSArmorStand extends CraftArmorStand {
@Override public void playEffect(EntityEffect effect) {}
@Override public void setCustomName(String name) {}
@Override public void setCustomNameVisible(boolean flag) {}
@Override public void setLastDamageCause(EntityDamageEvent event) {}
@Override public void setGlowing(boolean flag) {}
@Override public void setGravity(boolean gravity) {}
@Override public void setInvulnerable(boolean flag) {}

View File

@ -10,6 +10,7 @@ import org.bukkit.Location;
import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftItem;
import org.bukkit.entity.Entity;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import org.bukkit.inventory.ItemStack;
import org.bukkit.util.Vector;
@ -44,6 +45,7 @@ public class CraftNMSItem extends CraftItem {
@Override public void playEffect(EntityEffect effect) {}
@Override public void setCustomName(String name) {}
@Override public void setCustomNameVisible(boolean flag) {}
@Override public void setLastDamageCause(EntityDamageEvent event) {}
@Override public void setGlowing(boolean flag) {}
@Override public void setGravity(boolean gravity) {}
@Override public void setInvulnerable(boolean flag) {}

View File

@ -11,6 +11,7 @@ import org.bukkit.craftbukkit.v1_16_R3.CraftServer;
import org.bukkit.craftbukkit.v1_16_R3.entity.CraftSlime;
import org.bukkit.entity.Entity;
import org.bukkit.entity.LivingEntity;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import org.bukkit.loot.LootTable;
import org.bukkit.potion.PotionEffect;
@ -64,6 +65,7 @@ public class CraftNMSSlime extends CraftSlime {
@Override public void playEffect(EntityEffect effect) {}
@Override public void setCustomName(String name) {}
@Override public void setCustomNameVisible(boolean flag) {}
@Override public void setLastDamageCause(EntityDamageEvent event) {}
@Override public void setGlowing(boolean flag) {}
@Override public void setGravity(boolean gravity) {}
@Override public void setInvulnerable(boolean flag) {}

View File

@ -10,6 +10,7 @@ import org.bukkit.Location;
import org.bukkit.craftbukkit.v1_8_R2.CraftServer;
import org.bukkit.craftbukkit.v1_8_R2.entity.CraftArmorStand;
import org.bukkit.entity.Entity;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import org.bukkit.inventory.ItemStack;
import org.bukkit.potion.PotionEffect;
@ -68,5 +69,6 @@ public class CraftNMSArmorStand extends CraftArmorStand {
@Override public void playEffect(EntityEffect effect) {}
@Override public void setCustomName(String name) {}
@Override public void setCustomNameVisible(boolean flag) {}
@Override public void setLastDamageCause(EntityDamageEvent event) {}
}

View File

@ -10,6 +10,7 @@ import org.bukkit.Location;
import org.bukkit.craftbukkit.v1_8_R2.CraftServer;
import org.bukkit.craftbukkit.v1_8_R2.entity.CraftItem;
import org.bukkit.entity.Entity;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import org.bukkit.inventory.ItemStack;
import org.bukkit.util.Vector;
@ -40,6 +41,7 @@ public class CraftNMSItem extends CraftItem {
@Override public void playEffect(EntityEffect effect) {}
@Override public void setCustomName(String name) {}
@Override public void setCustomNameVisible(boolean flag) {}
@Override public void setLastDamageCause(EntityDamageEvent event) {}
// Methods from Item
@Override public void setItemStack(ItemStack stack) {}

View File

@ -10,6 +10,7 @@ import org.bukkit.Location;
import org.bukkit.craftbukkit.v1_8_R2.CraftServer;
import org.bukkit.craftbukkit.v1_8_R2.entity.CraftSlime;
import org.bukkit.entity.Entity;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import org.bukkit.potion.PotionEffect;
import org.bukkit.util.Vector;
@ -48,6 +49,7 @@ public class CraftNMSSlime extends CraftSlime {
@Override public void playEffect(EntityEffect effect) {}
@Override public void setCustomName(String name) {}
@Override public void setCustomNameVisible(boolean flag) {}
@Override public void setLastDamageCause(EntityDamageEvent event) {}
// Methods from Slime
@Override public void setSize(int size) {}

View File

@ -10,6 +10,7 @@ import org.bukkit.Location;
import org.bukkit.craftbukkit.v1_8_R3.CraftServer;
import org.bukkit.craftbukkit.v1_8_R3.entity.CraftArmorStand;
import org.bukkit.entity.Entity;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import org.bukkit.inventory.ItemStack;
import org.bukkit.potion.PotionEffect;
@ -68,5 +69,6 @@ public class CraftNMSArmorStand extends CraftArmorStand {
@Override public void playEffect(EntityEffect effect) {}
@Override public void setCustomName(String name) {}
@Override public void setCustomNameVisible(boolean flag) {}
@Override public void setLastDamageCause(EntityDamageEvent event) {}
}

View File

@ -10,6 +10,7 @@ import org.bukkit.Location;
import org.bukkit.craftbukkit.v1_8_R3.CraftServer;
import org.bukkit.craftbukkit.v1_8_R3.entity.CraftItem;
import org.bukkit.entity.Entity;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import org.bukkit.inventory.ItemStack;
import org.bukkit.util.Vector;
@ -40,6 +41,7 @@ public class CraftNMSItem extends CraftItem {
@Override public void playEffect(EntityEffect effect) {}
@Override public void setCustomName(String name) {}
@Override public void setCustomNameVisible(boolean flag) {}
@Override public void setLastDamageCause(EntityDamageEvent event) {}
// Methods from Item
@Override public void setItemStack(ItemStack stack) {}

View File

@ -10,6 +10,7 @@ import org.bukkit.Location;
import org.bukkit.craftbukkit.v1_8_R3.CraftServer;
import org.bukkit.craftbukkit.v1_8_R3.entity.CraftSlime;
import org.bukkit.entity.Entity;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import org.bukkit.potion.PotionEffect;
import org.bukkit.util.Vector;
@ -48,6 +49,7 @@ public class CraftNMSSlime extends CraftSlime {
@Override public void playEffect(EntityEffect effect) {}
@Override public void setCustomName(String name) {}
@Override public void setCustomNameVisible(boolean flag) {}
@Override public void setLastDamageCause(EntityDamageEvent event) {}
// Methods from Slime
@Override public void setSize(int size) {}

View File

@ -10,6 +10,7 @@ import org.bukkit.Location;
import org.bukkit.craftbukkit.v1_9_R1.CraftServer;
import org.bukkit.craftbukkit.v1_9_R1.entity.CraftArmorStand;
import org.bukkit.entity.Entity;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import org.bukkit.inventory.ItemStack;
import org.bukkit.potion.PotionEffect;
@ -69,5 +70,6 @@ public class CraftNMSArmorStand extends CraftArmorStand {
@Override public void playEffect(EntityEffect effect) {}
@Override public void setCustomName(String name) {}
@Override public void setCustomNameVisible(boolean flag) {}
@Override public void setLastDamageCause(EntityDamageEvent event) {}
}

View File

@ -10,6 +10,7 @@ import org.bukkit.Location;
import org.bukkit.craftbukkit.v1_9_R1.CraftServer;
import org.bukkit.craftbukkit.v1_9_R1.entity.CraftItem;
import org.bukkit.entity.Entity;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import org.bukkit.inventory.ItemStack;
import org.bukkit.util.Vector;
@ -40,6 +41,7 @@ public class CraftNMSItem extends CraftItem {
@Override public void playEffect(EntityEffect effect) {}
@Override public void setCustomName(String name) {}
@Override public void setCustomNameVisible(boolean flag) {}
@Override public void setLastDamageCause(EntityDamageEvent event) {}
// Methods from Item
@Override public void setItemStack(ItemStack stack) {}

View File

@ -10,6 +10,7 @@ import org.bukkit.Location;
import org.bukkit.craftbukkit.v1_9_R1.CraftServer;
import org.bukkit.craftbukkit.v1_9_R1.entity.CraftSlime;
import org.bukkit.entity.Entity;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import org.bukkit.potion.PotionEffect;
import org.bukkit.util.Vector;
@ -48,6 +49,7 @@ public class CraftNMSSlime extends CraftSlime {
@Override public void playEffect(EntityEffect effect) {}
@Override public void setCustomName(String name) {}
@Override public void setCustomNameVisible(boolean flag) {}
@Override public void setLastDamageCause(EntityDamageEvent event) {}
// Methods from Slime
@Override public void setSize(int size) {}

View File

@ -10,6 +10,7 @@ import org.bukkit.Location;
import org.bukkit.craftbukkit.v1_9_R2.CraftServer;
import org.bukkit.craftbukkit.v1_9_R2.entity.CraftArmorStand;
import org.bukkit.entity.Entity;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import org.bukkit.inventory.ItemStack;
import org.bukkit.potion.PotionEffect;
@ -69,5 +70,6 @@ public class CraftNMSArmorStand extends CraftArmorStand {
@Override public void playEffect(EntityEffect effect) {}
@Override public void setCustomName(String name) {}
@Override public void setCustomNameVisible(boolean flag) {}
@Override public void setLastDamageCause(EntityDamageEvent event) {}
}

View File

@ -10,6 +10,7 @@ import org.bukkit.Location;
import org.bukkit.craftbukkit.v1_9_R2.CraftServer;
import org.bukkit.craftbukkit.v1_9_R2.entity.CraftItem;
import org.bukkit.entity.Entity;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import org.bukkit.inventory.ItemStack;
import org.bukkit.util.Vector;
@ -40,6 +41,7 @@ public class CraftNMSItem extends CraftItem {
@Override public void playEffect(EntityEffect effect) {}
@Override public void setCustomName(String name) {}
@Override public void setCustomNameVisible(boolean flag) {}
@Override public void setLastDamageCause(EntityDamageEvent event) {}
// Methods from Item
@Override public void setItemStack(ItemStack stack) {}

View File

@ -10,6 +10,7 @@ import org.bukkit.Location;
import org.bukkit.craftbukkit.v1_9_R2.CraftServer;
import org.bukkit.craftbukkit.v1_9_R2.entity.CraftSlime;
import org.bukkit.entity.Entity;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
import org.bukkit.potion.PotionEffect;
import org.bukkit.util.Vector;
@ -48,6 +49,7 @@ public class CraftNMSSlime extends CraftSlime {
@Override public void playEffect(EntityEffect effect) {}
@Override public void setCustomName(String name) {}
@Override public void setCustomNameVisible(boolean flag) {}
@Override public void setLastDamageCause(EntityDamageEvent event) {}
// Methods from Slime
@Override public void setSize(int size) {}