mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-11-15 15:15:14 +01:00
Merge remote-tracking branch 'origin/master' into fix/heightmaps
This commit is contained in:
commit
b736085b51
@ -75,7 +75,7 @@ public void load(Path configFile) throws IOException {
|
||||
BlockStateMapping<BlockProperties> mapping = new BlockStateMapping<>(bsKey, bsValueBuilder.build());
|
||||
|
||||
// don't overwrite already present values, higher priority resources are loaded first
|
||||
mappings.computeIfAbsent(bsKey.getFormatted(), k -> new LinkedList<>()).add(0, mapping);
|
||||
mappings.computeIfAbsent(bsKey.getFormatted(), k -> new LinkedList<>()).add(mapping);
|
||||
}
|
||||
json.endObject();
|
||||
}
|
||||
|
@ -65,7 +65,7 @@ public synchronized void onPlayerLeave(PlayerQuitEvent evt) {
|
||||
|
||||
@EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)
|
||||
public synchronized void onPlayerChat(AsyncChatEvent evt) {
|
||||
String message = String.format(PlainTextComponentSerializer.plainText().serialize(evt.message()));
|
||||
String message = PlainTextComponentSerializer.plainText().serialize(evt.message());
|
||||
for (ServerEventListener listener : listeners) listener.onChatMessage(Text.of(message));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user