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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ConfigHandler.blacklist.get(checkType.getKey().toString()) != null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (!user.startsWith("#")) {
|
if (!user.startsWith("#")) {
|
||||||
CacheHandler.spreadCache.remove(location);
|
CacheHandler.spreadCache.remove(location);
|
||||||
}
|
}
|
||||||
|
@ -55,6 +55,10 @@ public class BlockPlaceLogger {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ConfigHandler.blacklist.get(type.getKey().toString()) != null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
int x = block.getX();
|
int x = block.getX();
|
||||||
int y = block.getY();
|
int y = block.getY();
|
||||||
int z = block.getZ();
|
int z = block.getZ();
|
||||||
|
Loading…
Reference in New Issue
Block a user