Update Logic.java
This commit is contained in:
@@ -32,9 +32,6 @@ public class Logic implements ApplicationListener{
|
|||||||
|
|
||||||
public Logic(){
|
public Logic(){
|
||||||
Events.on(WaveEvent.class, event -> {
|
Events.on(WaveEvent.class, event -> {
|
||||||
if(world.isZone()){
|
|
||||||
world.getZone().updateWave(state.wave);
|
|
||||||
}
|
|
||||||
for(Player p : playerGroup.all()){
|
for(Player p : playerGroup.all()){
|
||||||
p.respawns = state.rules.respawns;
|
p.respawns = state.rules.respawns;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user