mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-12 12:33:54 +00:00
chore: minor changes
- null check get tile in ThreadUnsafeCharBlocks - 0 to reserved ID
This commit is contained in:
@ -415,7 +415,7 @@ public class PaperweightGetBlocks extends CharGetBlocks implements BukkitGetBloc
|
||||
}
|
||||
|
||||
int ordinal = set.getBlock(lx, ly, lz).getOrdinal();
|
||||
if (ordinal != 0) {
|
||||
if (ordinal != BlockTypesCache.ReservedIDs.__RESERVED__) {
|
||||
BlockEntity tile = entry.getValue();
|
||||
if (PaperLib.isPaper() && tile instanceof BeaconBlockEntity) {
|
||||
if (beacons == null) {
|
||||
|
Reference in New Issue
Block a user