Fixed some more warnings.

This commit is contained in:
TomyLobo 2012-02-25 18:58:22 +01:00
parent d781f9822f
commit 9484bb9941

View File

@ -212,6 +212,7 @@ public void onPlayerMove(PlayerMoveEvent event) {
}
}
@SuppressWarnings("deprecation")
@EventHandler
public void onPlayerJoin(PlayerJoinEvent event) {
Player player = event.getPlayer();
@ -866,7 +867,6 @@ public void onPlayerBucketFill(PlayerBucketFillEvent event) {
ConfigurationManager cfg = plugin.getGlobalStateManager();
WorldConfiguration wcfg = cfg.get(world);
LocalPlayer localPlayer = plugin.wrapPlayer(player);
if (!plugin.getGlobalRegionManager().canBuild(
player, event.getBlockClicked().getRelative(event.getBlockFace()))) {