forked from LogBlock/LogBlock
log sculk
This commit is contained in:
@ -217,7 +217,7 @@ public class LogBlock extends JavaPlugin {
|
|||||||
if (isLogging(Logging.BONEMEALSTRUCTUREGROW)) {
|
if (isLogging(Logging.BONEMEALSTRUCTUREGROW)) {
|
||||||
pm.registerEvents(new BlockFertilizeLogging(this), this);
|
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);
|
pm.registerEvents(new BlockSpreadLogging(this), this);
|
||||||
}
|
}
|
||||||
if (isLogging(Logging.DRAGONEGGTELEPORT)) {
|
if (isLogging(Logging.DRAGONEGGTELEPORT)) {
|
||||||
|
@ -49,6 +49,7 @@ public enum Logging {
|
|||||||
LECTERNBOOKCHANGE(true),
|
LECTERNBOOKCHANGE(true),
|
||||||
SCAFFOLDING(true),
|
SCAFFOLDING(true),
|
||||||
OXIDIZATION,
|
OXIDIZATION,
|
||||||
|
SCULKSPREAD(true),
|
||||||
SHULKER_BOX_CONTENT,
|
SHULKER_BOX_CONTENT,
|
||||||
PLAYER_COMMANDS,
|
PLAYER_COMMANDS,
|
||||||
COMMANDBLOCK_COMMANDS,
|
COMMANDBLOCK_COMMANDS,
|
||||||
|
@ -102,6 +102,16 @@ public class BlockSpreadLogging extends LoggingListener {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
break;
|
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:
|
default:
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user