geforkt von Mirrors/Paper
fix: boats' bounding boxes must be deflated, not inflated (#6314)
Fixes GH-6312. Signed-off-by: Mariell Hoversholm <proximyst@proximyst.com>
Dieser Commit ist enthalten in:
Ursprung
e51f909450
Commit
9ff41ed426
@ -76,7 +76,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
entityboat.setType(this.type);
|
||||
entityboat.setYRot(user.getYRot());
|
||||
- if (!world.noCollision(entityboat, entityboat.getBoundingBox().inflate(-0.1D))) {
|
||||
+ if (!world.noCollision(entityboat, entityboat.getBoundingBox().inflate(net.minecraft.Util.COLLISION_EPSILON))) {
|
||||
+ if (!world.noCollision(entityboat, entityboat.getBoundingBox().inflate(-net.minecraft.Util.COLLISION_EPSILON))) { // Paper
|
||||
return InteractionResultHolder.fail(itemstack);
|
||||
} else {
|
||||
if (!world.isClientSide) {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren