SHOW:
|
|
- or go back to the newest paste.
| 1 | - | public boolean onEntityCollidedWithBlock(World world, int i, int j, int k, Entity entity) |
| 1 | + | public void onEntityCollidedWithBlock(World world, int i, int j, int k, Entity entity) |
| 2 | {
| |
| 3 | - | if (entity.isSneaking()) |
| 3 | + | if (!entity.isSneaking()) |
| 4 | {
| |
| 5 | - | return false; |
| 5 | + | |
| 6 | } | |
| 7 | - | else |
| 7 | + |