mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 17:57:38 +00:00
Fixed a NullPointerException in conjunction with CraftBook.
Thanks FearThe1337.
This commit is contained in:
parent
05404b005d
commit
caeab76abb
@ -189,8 +189,8 @@ public class CuboidRegion implements Region {
|
||||
}
|
||||
}
|
||||
|
||||
pos1 = pos1.clampY(0, world.getMaxY());
|
||||
pos2 = pos2.clampY(0, world.getMaxY());
|
||||
pos1 = pos1.clampY(0, world == null ? 127 : world.getMaxY());
|
||||
pos2 = pos2.clampY(0, world == null ? 127 : world.getMaxY());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user