mirror of
https://github.com/PaperMC/Paper.git
synced 2025-07-31 20:22:05 -07:00
Update upstream B/CB/S
This commit is contained in:
@@ -2944,8 +2944,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
*/
|
||||
public boolean register(String label, String fallbackPrefix, Command command) {
|
||||
+ command.timings = co.aikar.timings.TimingsManager.getCommandTiming(fallbackPrefix, command); // Spigot
|
||||
label = label.toLowerCase().trim();
|
||||
fallbackPrefix = fallbackPrefix.toLowerCase().trim();
|
||||
label = label.toLowerCase(java.util.Locale.ENGLISH).trim();
|
||||
fallbackPrefix = fallbackPrefix.toLowerCase(java.util.Locale.ENGLISH).trim();
|
||||
boolean registered = register(label, command, false, fallbackPrefix);
|
||||
@@ -0,0 +0,0 @@ public class SimpleCommandMap implements CommandMap {
|
||||
return false;
|
||||
@@ -3252,7 +3252,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
if (result != null) {
|
||||
plugins.add(result);
|
||||
- lookupNames.put(result.getDescription().getName(), result);
|
||||
+ lookupNames.put(result.getDescription().getName().toLowerCase(), result); // Spigot
|
||||
+ lookupNames.put(result.getDescription().getName().toLowerCase(java.util.Locale.ENGLISH), result); // Spigot
|
||||
}
|
||||
|
||||
return result;
|
||||
@@ -3261,7 +3261,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
*/
|
||||
public synchronized Plugin getPlugin(String name) {
|
||||
- return lookupNames.get(name.replace(' ', '_'));
|
||||
+ return lookupNames.get(name.replace(' ', '_').toLowerCase()); // Spigot
|
||||
+ return lookupNames.get(name.replace(' ', '_').toLowerCase(java.util.Locale.ENGLISH)); // Spigot
|
||||
}
|
||||
|
||||
public synchronized Plugin[] getPlugins() {
|
||||
|
Submodule work/Bukkit updated: c3a46c9b8d...f0973327a9
Submodule work/CraftBukkit updated: 568e27fbd0...0ebb9c7afa
Submodule work/Spigot updated: 687a0190ef...5391d732ff
Reference in New Issue
Block a user