transition to paper plugin
All checks were successful
Build / build (push) Successful in 3m22s

This commit is contained in:
unurled 2024-07-03 18:44:00 +02:00
parent ce0ffdbdfc
commit 7816bbe384
19 changed files with 417 additions and 525 deletions

View file

@ -136,7 +136,7 @@ public class SREntityType {
}
public EntityType getType() {
return type;
return type = type == null ? EntityType.ZOMBIE : type;
}
public void setType(EntityType type) {
@ -144,7 +144,7 @@ public class SREntityType {
}
public ItemStack getItem() {
return item == null ? new ItemStack(Material.BONE) : item;
return item == null ? new ItemStack(Material.BARRIER) : item;
}
public void setItem(ItemStack item) {
@ -153,10 +153,10 @@ public class SREntityType {
public List<ItemStack> getArmor() {
if (armor.isEmpty()) {
armor.add(new ItemStack(Material.AIR));
armor.add(new ItemStack(Material.AIR));
armor.add(new ItemStack(Material.AIR));
armor.add(new ItemStack(Material.AIR));
armor.add(new ItemStack(Material.BARRIER));
armor.add(new ItemStack(Material.BARRIER));
armor.add(new ItemStack(Material.BARRIER));
armor.add(new ItemStack(Material.BARRIER));
}
return armor;
}
@ -167,7 +167,7 @@ public class SREntityType {
}
public ItemStack getHandItem() {
return handItem == null ? new ItemStack(Material.AIR) : handItem;
return handItem == null ? new ItemStack(Material.BARRIER) : handItem;
}
@SuppressWarnings("unused")
@ -176,7 +176,7 @@ public class SREntityType {
}
public ItemStack getSecondHandItem() {
return secondHandItem == null ? new ItemStack(Material.AIR) : secondHandItem;
return secondHandItem == null ? new ItemStack(Material.BARRIER) : secondHandItem;
}
@SuppressWarnings("unused")