Improve water flow logging

This commit is contained in:
Brokkonaut
2018-10-15 02:49:46 +02:00
parent 91a08e7ea0
commit 90dbc8d8df

View File

@ -37,6 +37,9 @@ public class FluidFlowLogging extends LoggingListener {
typeFrom = Material.WATER;
fromWaterlogged = true;
}
if (typeFrom == Material.SEAGRASS || typeFrom == Material.KELP_PLANT || typeFrom == Material.KELP) {
typeFrom = Material.WATER;
}
Block source = Config.logFluidFlowAsPlayerWhoTriggeredIt ? event.getBlock() : null;
final Block to = event.getToBlock();