3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-12-24 18:10:08 +01:00

Stop working around broken stuff and do it like we always have.

Dieser Commit ist enthalten in:
Wizjany 2011-08-21 11:47:29 -04:00
Ursprung e09a66d859
Commit a9498d2c68

Datei anzeigen

@ -70,8 +70,9 @@ public class WorldEditPlayerListener extends PlayerListener {
*/
@Override
public void onPlayerCommandPreprocess(PlayerCommandPreprocessEvent event) {
if (event.isCancelled())
if (event.isCancelled()) {
return;
}
String[] split = event.getMessage().split(" ");
@ -87,8 +88,6 @@ public class WorldEditPlayerListener extends PlayerListener {
*/
@Override
public void onPlayerInteract(PlayerInteractEvent event) {
if (event.isCancelled() && event.hasBlock())
return;
if (event.getAction() == Action.LEFT_CLICK_BLOCK) {
LocalWorld world = new BukkitWorld(event.getClickedBlock().getWorld());
WorldVector pos = new WorldVector(world, event.getClickedBlock().getX(),