Add setSlot override to NMS class

This commit is contained in:
filoghost 2021-06-20 20:25:17 +02:00
parent ae07fe0bb5
commit 2ebad9cbe1

View File

@ -157,6 +157,11 @@ public class EntityNMSArmorStand extends EntityArmorStand implements NMSArmorSta
// Prevent armor stand from being equipped // Prevent armor stand from being equipped
} }
@Override
public void setSlot(EnumItemSlot enumitemslot, ItemStack itemstack, boolean silent) {
// Prevent armor stand from being equipped
}
@Override @Override
public void a(AxisAlignedBB boundingBox) { public void a(AxisAlignedBB boundingBox) {
// Prevent changes to bounding box // Prevent changes to bounding box