mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-29 19:41:47 +01:00
improve performance by 5-10%
This commit is contained in:
parent
cb013f8291
commit
4e11b16ee1
@ -10,7 +10,7 @@
|
||||
</Appenders>
|
||||
|
||||
<Loggers>
|
||||
<Root level="trace">
|
||||
<Root level="info">
|
||||
<AppenderRef ref="STDOUT-WithCaller" level="info"/>
|
||||
</Root>
|
||||
</Loggers>
|
||||
|
@ -174,7 +174,7 @@ public class PlayerInit {
|
||||
event.setSpawningInstance(instanceContainer);
|
||||
int x = Math.abs(ThreadLocalRandom.current().nextInt()) % 1000 + 500;
|
||||
int z = Math.abs(ThreadLocalRandom.current().nextInt()) % 1000 + 500;
|
||||
player.setRespawnPoint(new Position(x, 70f, z));
|
||||
player.setRespawnPoint(new Position(0, 70f, 0));
|
||||
|
||||
/*player.getInventory().addInventoryCondition((p, slot, clickType, inventoryConditionResult) -> {
|
||||
if (slot == -999)
|
||||
|
Loading…
Reference in New Issue
Block a user