mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-28 13:36:33 +01:00
Fix mob signs
This commit is contained in:
parent
f1e98aa66b
commit
d6a2e38375
@ -40,7 +40,7 @@ public class MobSpawnTask extends BukkitRunnable {
|
|||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
if (gameWorld == null) {
|
if (gameWorld == null) {
|
||||||
cancel();
|
sign.deactivate();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -52,7 +52,7 @@ public class MobSpawnTask extends BukkitRunnable {
|
|||||||
if (k < n) {
|
if (k < n) {
|
||||||
k++;
|
k++;
|
||||||
} else {
|
} else {
|
||||||
cancel();
|
sign.deactivate();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user