diff --git a/src/main/java/fr/leomelki/loupgarou/classes/LGVote.java b/src/main/java/fr/leomelki/loupgarou/classes/LGVote.java index 9a3ce26..b352131 100644 --- a/src/main/java/fr/leomelki/loupgarou/classes/LGVote.java +++ b/src/main/java/fr/leomelki/loupgarou/classes/LGVote.java @@ -94,7 +94,7 @@ public class LGVote { private static DataWatcherObject> az; private static DataWatcherObject aA; private static DataWatcherObject 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");