From 4ad330a958f5dc8bd2aa0e52ea9bc29d1473a7ae Mon Sep 17 00:00:00 2001 From: TomyLobo Date: Thu, 15 Mar 2012 09:05:47 +0100 Subject: [PATCH] Fixed //shift not updating polygonal regions properly. --- .../com/sk89q/worldedit/regions/Polygonal2DRegionSelector.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/sk89q/worldedit/regions/Polygonal2DRegionSelector.java b/src/main/java/com/sk89q/worldedit/regions/Polygonal2DRegionSelector.java index 45e17ee86..3f5beee25 100644 --- a/src/main/java/com/sk89q/worldedit/regions/Polygonal2DRegionSelector.java +++ b/src/main/java/com/sk89q/worldedit/regions/Polygonal2DRegionSelector.java @@ -135,7 +135,8 @@ public class Polygonal2DRegionSelector implements RegionSelector, CUIRegion { } public void explainRegionAdjust(LocalPlayer player, LocalSession session) { - session.dispatchCUIEvent(player, new SelectionMinMaxEvent(region.getMininumY(), region.getMaximumY())); + session.dispatchCUIEvent(player, new SelectionShapeEvent(getTypeID())); + describeCUI(session, player); } public BlockVector getPrimaryPosition() throws IncompleteRegionException {