Possibly fixed the ladder setting.

This commit is contained in:
sk89q 2012-11-05 12:28:40 -08:00
parent 4da1741578
commit df57d91270

View File

@ -473,7 +473,7 @@ public void onBlockPhysics(BlockPhysicsEvent event) {
return;
}
if (id == BlockID.LADDER && wcfg.ropeLadders) {
if (wcfg.ropeLadders && event.getBlock().getType() == Material.LADDER) {
if (event.getBlock().getRelative(0, 1, 0).getType() == Material.LADDER) {
event.setCancelled(true);
return;