Skip to content

Commit

Permalink
(Hopefully) fix sand/gravel duping methods
Browse files Browse the repository at this point in the history
  • Loading branch information
zavdav committed Nov 23, 2024
1 parent f6d83a8 commit 1334000
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/net/minecraft/server/BlockSand.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ private void g(World world, int i, int j, int k) {
byte b0 = 32;

if (!instaFall && world.a(i - b0, j - b0, k - b0, i + b0, j + b0, k + b0)) {
world.setTypeId(i, j, k, 0);
EntityFallingSand entityfallingsand = new EntityFallingSand(world, i + 0.5D, j + 0.5D, k + 0.5D, this.id);

world.addEntity(entityfallingsand);
Expand Down

0 comments on commit 1334000

Please sign in to comment.