mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 11:59:14 +00:00
quick fix : 'if' statement with identical branches
This commit is contained in:
1 parent
5a1c3a4dfd
commit
6a88c6a5e1
16 files changed
+39
-84
No files matched your search
@@ -542,13 +542,11 @@ public class AbilityHelper {
|
||||
(block1.stepSound.getVolume() + 1.0F) / 2.0F,
|
||||
block1.stepSound.getPitch() * 0.8F);
|
||||
|
||||
if (world.isRemote) {
|
||||
return true;
|
||||
} else {
|
||||
if (!world.isRemote) {
|
||||
world.setBlock(x, y, z, block1);
|
||||
damageTool(stack, 1, player, false);
|
||||
return true;
|
||||
}
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user