mirror of
https://github.com/eaglerforge/EaglerForgeInjector
synced 2025-07-23 14:11:16 -09:00
make unlucky blocks less laggy
This commit is contained in:
parent
f600e3859a
commit
04325e6f4e
@ -38,7 +38,7 @@
|
|||||||
var blockpos = ModAPI.util.wrap($blockpos);
|
var blockpos = ModAPI.util.wrap($blockpos);
|
||||||
if (Math.random() < 1) { //was gonna add random events but couldn't be bothered. Enjoy exploding!
|
if (Math.random() < 1) { //was gonna add random events but couldn't be bothered. Enjoy exploding!
|
||||||
world.newExplosion(null, blockpos.getX() + 0.5, blockpos.getY() + 0.5,
|
world.newExplosion(null, blockpos.getX() + 0.5, blockpos.getY() + 0.5,
|
||||||
blockpos.getZ() + 0.5, 9, 1, 1);
|
blockpos.getZ() + 0.5, 9, 1, 0);
|
||||||
}
|
}
|
||||||
return breakBlockMethod(this, $world, $blockpos, $blockstate);
|
return breakBlockMethod(this, $world, $blockpos, $blockstate);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user