Fix water/lava buckets not working.

This commit is contained in:
Steven Lawson 2013-08-06 19:12:26 -04:00
parent e8d36b31f7
commit 4813b8ae27

View File

@ -52,6 +52,7 @@ public class TFM_PlayerListener implements Listener
event.setCancelled(true); event.setCancelled(true);
return; return;
} }
break;
} }
case LAVA_BUCKET: case LAVA_BUCKET:
{ {
@ -62,6 +63,7 @@ public class TFM_PlayerListener implements Listener
event.setCancelled(true); event.setCancelled(true);
return; return;
} }
break;
} }
case EXPLOSIVE_MINECART: case EXPLOSIVE_MINECART:
{ {
@ -71,6 +73,7 @@ public class TFM_PlayerListener implements Listener
player.sendMessage(ChatColor.GRAY + "TNT minecarts are currently disabled."); player.sendMessage(ChatColor.GRAY + "TNT minecarts are currently disabled.");
event.setCancelled(true); event.setCancelled(true);
} }
break;
} }
} }
break; break;