forked from LogBlock/LogBlock
log sculk
This commit is contained in:
@ -217,7 +217,7 @@ public class LogBlock extends JavaPlugin {
|
||||
if (isLogging(Logging.BONEMEALSTRUCTUREGROW)) {
|
||||
pm.registerEvents(new BlockFertilizeLogging(this), this);
|
||||
}
|
||||
if (isLogging(Logging.GRASSGROWTH) || isLogging(Logging.MYCELIUMSPREAD) || isLogging(Logging.VINEGROWTH) || isLogging(Logging.MUSHROOMSPREAD) || isLogging(Logging.BAMBOOGROWTH) || isLogging(Logging.DRIPSTONEGROWTH)) {
|
||||
if (isLogging(Logging.GRASSGROWTH) || isLogging(Logging.MYCELIUMSPREAD) || isLogging(Logging.VINEGROWTH) || isLogging(Logging.MUSHROOMSPREAD) || isLogging(Logging.BAMBOOGROWTH) || isLogging(Logging.DRIPSTONEGROWTH) || isLogging(Logging.SCULKSPREAD)) {
|
||||
pm.registerEvents(new BlockSpreadLogging(this), this);
|
||||
}
|
||||
if (isLogging(Logging.DRAGONEGGTELEPORT)) {
|
||||
|
@ -49,6 +49,7 @@ public enum Logging {
|
||||
LECTERNBOOKCHANGE(true),
|
||||
SCAFFOLDING(true),
|
||||
OXIDIZATION,
|
||||
SCULKSPREAD(true),
|
||||
SHULKER_BOX_CONTENT,
|
||||
PLAYER_COMMANDS,
|
||||
COMMANDBLOCK_COMMANDS,
|
||||
|
@ -102,6 +102,16 @@ public class BlockSpreadLogging extends LoggingListener {
|
||||
return;
|
||||
}
|
||||
break;
|
||||
case SCULK:
|
||||
case SCULK_VEIN:
|
||||
case SCULK_CATALYST:
|
||||
case SCULK_SENSOR:
|
||||
case SCULK_SHRIEKER:
|
||||
if (!isLogging(world, Logging.SCULKSPREAD)) {
|
||||
return;
|
||||
}
|
||||
name = "SculkSpread";
|
||||
break;
|
||||
default:
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user