3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-12-25 02:20:07 +01:00

Merge pull request #103 from wizjany/master

Fixed potential client-spamming bug
Dieser Commit ist enthalten in:
MonsieurApple 2011-05-15 18:21:48 -07:00
Commit c4e023b168

Datei anzeigen

@ -38,7 +38,6 @@ import com.sk89q.bukkit.migration.PermissionsResolverServerListener;
import com.sk89q.worldedit.*;
import com.sk89q.worldedit.bags.BlockBag;
import com.sk89q.worldedit.bukkit.selections.*;
import com.sk89q.worldedit.cui.SelectionShapeEvent;
import com.sk89q.worldedit.regions.*;
/**
@ -113,7 +112,7 @@ public class WorldEditPlugin extends JavaPlugin {
public void onDisable() {
controller.clearSessions();
for (Player player : getServer().getOnlinePlayers()) {
wrapPlayer(player).dispatchCUIEvent(new SelectionShapeEvent("cuboid"));
wrapPlayer(player).dispatchCUIHandshake();
}
config.unload();
}