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