mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-06-28 19:26:42 +00:00
FS-334
If Codacy complains about Line 365 being potentially combinable with Line 363, please kindly tell it to fuck off
This commit is contained in:
@ -362,9 +362,7 @@ public class CoreProtectBridge extends FreedomService
|
||||
}
|
||||
else if (event.getAction() == Action.RIGHT_CLICK_BLOCK)
|
||||
{
|
||||
if (block != null)
|
||||
{
|
||||
if (data.hasInspection())
|
||||
if (block != null && data.hasInspection())
|
||||
{
|
||||
BlockState blockState = block.getRelative(event.getBlockFace()).getState();
|
||||
Block placedBlock = blockState.getBlock();
|
||||
@ -453,5 +451,4 @@ public class CoreProtectBridge extends FreedomService
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user