mirror of
https://github.com/Oth3r/Sit.git
synced 2025-09-20 08:23:20 +02:00
parent
6ea4831a1c
commit
f98436a917
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ public class Events {
|
||||||
BlockState blockState = player.getWorld().getBlockState(pos);
|
BlockState blockState = player.getWorld().getBlockState(pos);
|
||||||
// check if said block is still there
|
// check if said block is still there
|
||||||
if (blockState.isAir()) {
|
if (blockState.isAir()) {
|
||||||
player.teleport(player.getX(),player.getBlockY()+1,player.getZ(),false);
|
player.teleport(player.getX(),player.getBlockY()+1,player.getZ());
|
||||||
entity.setRemoved(Entity.RemovalReason.DISCARDED);
|
entity.setRemoved(Entity.RemovalReason.DISCARDED);
|
||||||
entityLoop.remove();
|
entityLoop.remove();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue