mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +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:
parent
cc9c07d498
commit
40498c03f4
@ -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();
|
||||
@ -454,4 +452,3 @@ public class CoreProtectBridge extends FreedomService
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user