Fix NullPointer sur les ArmorStand lors du vote (bug rencontré en 1.15.2)
This commit is contained in:
parent
61095be724
commit
495f0991f0
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ public class LGVote {
|
|||
private static DataWatcherObject<Optional<IChatBaseComponent>> az;
|
||||
private static DataWatcherObject<Boolean> aA;
|
||||
private static DataWatcherObject<Byte> T;
|
||||
private static final EntityArmorStand eas = new EntityArmorStand(null, 0, 0, 0);
|
||||
private static final EntityArmorStand eas = new EntityArmorStand(((CraftWorld)Bukkit.getWorlds().get(0)).getHandle(), 0, 0, 0);
|
||||
static {
|
||||
try {
|
||||
Field f = Entity.class.getDeclaredField("az");
|
||||
|
|
Loading…
Reference in a new issue