Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-05 02:50:05 +01:00
Fixed /scriptname.js and no-double-slash settings not working
Dieser Commit ist enthalten in:
Ursprung
2714aa6bf0
Commit
0525112293
@ -1,16 +1,17 @@
|
||||
5.2:
|
||||
- Made BlockBag use WorldVectors for add(Single)SourcePosition
|
||||
- Fixed north face not being set with non-singleblockpatterns.
|
||||
- Moved the block data check to LocalWorld, adding preliminary support for custom blocks.
|
||||
- Lookup by id if the string passed to Block/ItemType.lookup() is an integer
|
||||
- Fixed issues with //replace.
|
||||
- Factored lookup code from BlockType and ItemType into a method in StringUtil.
|
||||
- BaseBlock changes
|
||||
- Properly escape cuipattern
|
||||
- Fix handling of empty strings passed to Block/ItemType
|
||||
- Improved formatting and performance of YAMLProcessor when no comments are present
|
||||
- Added bPermissions support
|
||||
- Update for new events system
|
||||
- Made BlockBag use WorldVectors for add(Single)SourcePosition
|
||||
- Fixed north face not being set with non-singleblockpatterns.
|
||||
- Moved the block data check to LocalWorld, adding preliminary support for custom blocks.
|
||||
- Lookup by id if the string passed to Block/ItemType.lookup() is an integer
|
||||
- Fixed issues with //replace.
|
||||
- Factored lookup code from BlockType and ItemType into a method in StringUtil.
|
||||
- BaseBlock changes
|
||||
- Properly escape cuipattern
|
||||
- Fix handling of empty strings passed to Block/ItemType
|
||||
- Improved formatting and performance of YAMLProcessor when no comments are present
|
||||
- Added bPermissions support
|
||||
- Update for new events system
|
||||
- Fixed /scriptname.js and no-double-slash settings not working
|
||||
|
||||
5.1.1:
|
||||
- Fixed some compatibility issues with SpoutPlugin
|
||||
|
@ -97,7 +97,19 @@ public class WorldEditListener implements Listener {
|
||||
split[0] = "/" + split[0];
|
||||
}
|
||||
|
||||
event.setMessage(StringUtil.joinString(split, " "));
|
||||
final String newMessage = StringUtil.joinString(split, " ");
|
||||
|
||||
if (!newMessage.equals(event.getMessage())) {
|
||||
event.setMessage(newMessage);
|
||||
plugin.getServer().getPluginManager().callEvent(event);
|
||||
if (!event.isCancelled()) {
|
||||
if (event.getMessage().length() > 0) {
|
||||
plugin.getServer().dispatchCommand(event.getPlayer(),
|
||||
event.getMessage().substring(1));
|
||||
}
|
||||
event.setCancelled(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren