Try fix catapult

This commit is contained in:
ste3et_c0st 2021-07-19 21:43:36 +03:00
parent 7c1ce3b70b
commit 5ec58e2fc9

View File

@ -46,10 +46,10 @@ public class Catapult extends Furniture implements Listener{
for(fEntity stand : id.getPacketList()){
if(stand.getCustomName().toLowerCase().startsWith("#range")){
stand1 = (fArmorStand) stand;
stand1.setNameVasibility(false);
if(stand1.getCustomName().equalsIgnoreCase("#range")){
stand1.setName("#range:1");
}
stand1.setNameVasibility(false);
}
}
}