Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/main/java/net/minecraft/server/BlockDoor.java
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,7 @@ public void doPhysics(World world, int i, int j, int k, int l) {
boolean flag = false;

if (world.getTypeId(i, j + 1, k) != this.id) {
world.setTypeId(i, j, k, 0);
flag = true;
return;
}

if (!world.e(i, j - 1, k)) {
Expand All @@ -159,7 +158,7 @@ public void doPhysics(World world, int i, int j, int k, int l) {
}

if (flag) {
if (!world.isStatic) {
if (!world.isStatic && (i1 & 8) == 0) {
this.g(world, i, j, k, i1);
}
} else if (l > 0 && Block.byId[l].isPowerSource()) {
Expand Down
Loading