Merge remote-tracking branch 'origin/master' into fix/heightmaps
This commit is contained in:
commit
b736085b51
|
@ -75,7 +75,7 @@ public class BlockPropertiesConfig {
|
|||
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 class EventForwarder implements Listener {
|
|||
|
||||
@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