Fixed blocks (e.g. sugar canes) adjacent to physics blocks (e.g. sand) not updating.

Fixes WORLDGUARD-3367. This change MAY have breaking unintended consequences,
but the physics configs seem to still be working.
This commit is contained in:
wizjany 2015-02-04 03:33:37 -05:00
parent af157b88bd
commit a1a6ee7107

View File

@ -380,7 +380,7 @@ public void onBlockPhysics(BlockPhysicsEvent event) {
return;
}
int id = event.getChangedTypeId();
int id = event.getBlock().getTypeId();
if (id == 13 && wcfg.noPhysicsGravel) {
event.setCancelled(true);