improve performance by 5-10%

This commit is contained in:
Eoghanmc22 2020-11-20 21:58:00 -05:00
parent cb013f8291
commit 4e11b16ee1
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
</Appenders>
<Loggers>
<Root level="trace">
<Root level="info">
<AppenderRef ref="STDOUT-WithCaller" level="info"/>
</Root>
</Loggers>

View File

@ -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)