mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-08-27 19:04:33 +00:00
Fixed potential client-spamming bug.
This commit is contained in:
parent
84c3ace9e0
commit
520d7ac764
@ -38,7 +38,6 @@ import com.sk89q.bukkit.migration.PermissionsResolverServerListener;
|
|||||||
import com.sk89q.worldedit.*;
|
import com.sk89q.worldedit.*;
|
||||||
import com.sk89q.worldedit.bags.BlockBag;
|
import com.sk89q.worldedit.bags.BlockBag;
|
||||||
import com.sk89q.worldedit.bukkit.selections.*;
|
import com.sk89q.worldedit.bukkit.selections.*;
|
||||||
import com.sk89q.worldedit.cui.SelectionShapeEvent;
|
|
||||||
import com.sk89q.worldedit.regions.*;
|
import com.sk89q.worldedit.regions.*;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -113,7 +112,7 @@ public class WorldEditPlugin extends JavaPlugin {
|
|||||||
public void onDisable() {
|
public void onDisable() {
|
||||||
controller.clearSessions();
|
controller.clearSessions();
|
||||||
for (Player player : getServer().getOnlinePlayers()) {
|
for (Player player : getServer().getOnlinePlayers()) {
|
||||||
wrapPlayer(player).dispatchCUIEvent(new SelectionShapeEvent("cuboid"));
|
wrapPlayer(player).dispatchCUIHandshake();
|
||||||
}
|
}
|
||||||
config.unload();
|
config.unload();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user