Updated latest WorldEdit methods

This commit is contained in:
unknown 2014-06-22 16:50:57 +02:00
parent 2d118a44a9
commit d82d6fd704
2 changed files with 4 additions and 4 deletions

View file

@ -1,3 +1,3 @@
#Build Number for ANT. Do not edit!
#Mon May 19 19:46:00 CEST 2014
build.number=862
#Sun Jun 22 16:49:17 CEST 2014
build.number=863

View file

@ -2,10 +2,10 @@ package me.StevenLawson.TotalFreedomMod.Bridge;
import com.sk89q.worldedit.IncompleteRegionException;
import com.sk89q.worldedit.LocalSession;
import com.sk89q.worldedit.LocalWorld;
import com.sk89q.worldedit.bukkit.BukkitPlayer;
import com.sk89q.worldedit.bukkit.WorldEditPlugin;
import com.sk89q.worldedit.regions.Region;
import com.sk89q.worldedit.world.World;
import me.StevenLawson.TotalFreedomMod.TFM_AdminList;
import me.StevenLawson.TotalFreedomMod.TFM_Log;
import me.StevenLawson.TotalFreedomMod.TFM_ProtectedArea;
@ -132,7 +132,7 @@ public class TFM_WorldEditBridge
final LocalSession session = getPlayerSession(player);
if (session != null)
{
final LocalWorld selectionWorld = session.getSelectionWorld();
final World selectionWorld = session.getSelectionWorld();
final Region selection = session.getSelection(selectionWorld);
if (TFM_ProtectedArea.isInProtectedArea(
getBukkitVector(selection.getMinimumPoint()),