mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 19:59:55 +00:00
quick fix : Redundant type cast
This commit is contained in:
1 parent
b34eec4dea
commit
2d13e6185e
84 files changed
+426
-434
No files matched your search
@@ -50,9 +50,9 @@ public class Punji extends MantleBlock {
|
||||
if (stack != null && stack.getItem() == Item.getItemFromBlock(TinkerWorld.punji)) {
|
||||
world.setBlockMetadataWithNotify(x, y, z, meta + 1, 3);
|
||||
world.playSoundEffect(
|
||||
(double) ((float) x + 0.5F),
|
||||
(double) ((float) y + 0.5F),
|
||||
(double) ((float) z + 0.5F),
|
||||
(float) x + 0.5F,
|
||||
(float) y + 0.5F,
|
||||
(float) z + 0.5F,
|
||||
this.stepSound.soundName,
|
||||
(this.stepSound.getVolume() + 1.0F) / 2.0F,
|
||||
this.stepSound.getPitch() * 0.8F);
|
||||
|
||||
Reference in new issue
Block a user