mirror of https://github.com/Ste3et/furniture.git
Try fix catapult
This commit is contained in:
parent
7c1ce3b70b
commit
5ec58e2fc9
|
@ -46,10 +46,10 @@ public class Catapult extends Furniture implements Listener{
|
||||||
for(fEntity stand : id.getPacketList()){
|
for(fEntity stand : id.getPacketList()){
|
||||||
if(stand.getCustomName().toLowerCase().startsWith("#range")){
|
if(stand.getCustomName().toLowerCase().startsWith("#range")){
|
||||||
stand1 = (fArmorStand) stand;
|
stand1 = (fArmorStand) stand;
|
||||||
stand1.setNameVasibility(false);
|
|
||||||
if(stand1.getCustomName().equalsIgnoreCase("#range")){
|
if(stand1.getCustomName().equalsIgnoreCase("#range")){
|
||||||
stand1.setName("#range:1");
|
stand1.setName("#range:1");
|
||||||
}
|
}
|
||||||
|
stand1.setNameVasibility(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue