mirror of
https://github.com/AntiCope/meteor-rejects.git
synced 2025-09-06 12:25:49 +00:00
make BlockIn sort of work when standing on a slab (#245)
This commit is contained in:
@@ -72,6 +72,8 @@ public class BlockIn extends Module {
|
||||
|
||||
@EventHandler
|
||||
private void onPreTick(TickEvent.Pre event) {
|
||||
if (mc.player.isOnGround() && mc.player.getY()>Math.floor(mc.player.getY()+0.2)) mc.options.sneakKey.setPressed(true);
|
||||
if (return_ && mc.options.sneakKey.isPressed()) mc.options.sneakKey.setPressed(false);
|
||||
if (center.get()) {
|
||||
if (!onlyOnGround.get()) {
|
||||
mc.player.setVelocity(0,0,0);
|
||||
|
Reference in New Issue
Block a user