Hotfix
Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
efb653ca13
Commit
84f23f47c2
@ -30,12 +30,15 @@ import java.util.*;
|
|||||||
|
|
||||||
public class VersionDependentListener extends BasicListener {
|
public class VersionDependentListener extends BasicListener {
|
||||||
|
|
||||||
private final List<Listener> listeners = new ArrayList<>();
|
private static final List<Listener> listeners = new ArrayList<>();
|
||||||
|
|
||||||
|
static {
|
||||||
|
if(Core.getVersion() > 8)
|
||||||
|
listeners.add(new PickupArrowListener_9());
|
||||||
|
}
|
||||||
|
|
||||||
public VersionDependentListener() {
|
public VersionDependentListener() {
|
||||||
super(EnumSet.allOf(FightState.class));
|
super(EnumSet.allOf(FightState.class));
|
||||||
if(Core.getVersion() > 8)
|
|
||||||
listeners.add(new PickupArrowListener_9());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren