mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-30 02:05:41 +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)
|
else if (event.getAction() == Action.RIGHT_CLICK_BLOCK)
|
||||||
{
|
{
|
||||||
if (block != null)
|
if (block != null && data.hasInspection())
|
||||||
{
|
|
||||||
if (data.hasInspection())
|
|
||||||
{
|
{
|
||||||
BlockState blockState = block.getRelative(event.getBlockFace()).getState();
|
BlockState blockState = block.getRelative(event.getBlockFace()).getState();
|
||||||
Block placedBlock = blockState.getBlock();
|
Block placedBlock = blockState.getBlock();
|
||||||
@ -454,4 +452,3 @@ public class CoreProtectBridge extends FreedomService
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user