mirror of
https://github.com/PlayPro/CoreProtect.git
synced 2025-01-15 20:32:24 +01:00
Added ability to exclude specific block types in blacklist (implements #444)
This commit is contained in:
parent
172c6440db
commit
7c61a33571
@ -37,6 +37,10 @@ public class BlockBreakLogger {
|
||||
return;
|
||||
}
|
||||
|
||||
if (ConfigHandler.blacklist.get(checkType.getKey().toString()) != null) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!user.startsWith("#")) {
|
||||
CacheHandler.spreadCache.remove(location);
|
||||
}
|
||||
|
@ -55,6 +55,10 @@ public class BlockPlaceLogger {
|
||||
return;
|
||||
}
|
||||
|
||||
if (ConfigHandler.blacklist.get(type.getKey().toString()) != null) {
|
||||
return;
|
||||
}
|
||||
|
||||
int x = block.getX();
|
||||
int y = block.getY();
|
||||
int z = block.getZ();
|
||||
|
Loading…
Reference in New Issue
Block a user