141805d5bb
Major refactoring of the patches, now each modified file gets its own patch file. Rewrote all the scripts to use new multi-patch system. Added linux install.sh using new system. Added some required libraries from GNUWin32 for the windows side of the new setup.bat/update_patches.bat http://gnuwin32.sourceforge.net/
20 lines
922 B
Diff
20 lines
922 B
Diff
--- ../src_base/minecraft_server/net/minecraft/src/BlockDoor.java 0000-00-00 00:00:00.000000000 -0000
|
|
+++ ../src_work/minecraft_server/net/minecraft/src/BlockDoor.java 0000-00-00 00:00:00.000000000 -0000
|
|
@@ -167,7 +167,7 @@
|
|
world.setBlockWithNotify(i, j, k, 0);
|
|
flag = true;
|
|
}
|
|
- if(!world.isBlockNormalCube(i, j - 1, k))
|
|
+ if(!world.isBlockSolidOnSide(i, j - 1, k,1))
|
|
{
|
|
world.setBlockWithNotify(i, j, k, 0);
|
|
flag = true;
|
|
@@ -231,7 +231,7 @@
|
|
return false;
|
|
} else
|
|
{
|
|
- return world.isBlockNormalCube(i, j - 1, k) && super.canPlaceBlockAt(world, i, j, k) && super.canPlaceBlockAt(world, i, j + 1, k);
|
|
+ return world.isBlockSolidOnSide(i, j - 1, k,1) && super.canPlaceBlockAt(world, i, j, k) && super.canPlaceBlockAt(world, i, j + 1, k);
|
|
}
|
|
}
|
|
|