Skip to content

Commit

Permalink
Fixed blocks (e.g. sugar canes) adjacent to physics blocks (e.g. sand…
Browse files Browse the repository at this point in the history
…) not updating.

Fixes WORLDGUARD-3367. This change MAY have breaking unintended consequences,
but the physics configs seem to still be working.
  • Loading branch information
wizjany committed Feb 4, 2015
1 parent af157b8 commit a1a6ee7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a1a6ee7

Please sign in to comment.