mirror of
https://github.com/trainerlord/WorldSystem.git
synced 2025-02-12 00:31:27 +01:00
Update WorldInitSkipSpawn.java
This commit is contained in:
parent
b12bea3bd7
commit
923bfbf16d
@ -12,6 +12,7 @@ public class WorldInitSkipSpawn implements Listener {
|
||||
@EventHandler
|
||||
public void worldInit(WorldInitEvent e) {
|
||||
World world = e.getWorld();
|
||||
world.getWorldBorder().setWarningDistance(0);
|
||||
SystemWorld sw = SystemWorld.getSystemWorld(world.getName());
|
||||
if(sw == null)
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user