forked from virt-mirrors/Sit
move entity spawning to the server loop to fix C2ME crash
move checkplayers to Data from FileData
This commit is contained in:
parent
9eeb379dd9
commit
757ee9668a
5 changed files with 56 additions and 26 deletions
|
@ -150,7 +150,7 @@ public class Events {
|
|||
// PLAYER JOIN
|
||||
ServerPlayConnectionEvents.JOIN.register((handler, sender, server) -> {
|
||||
FileData.setPlayerSetting(handler.player, FileData.getSittingConfig());
|
||||
FileData.setCheckPlayer(handler.player, 5);
|
||||
Data.setCheckPlayer(handler.player, 5);
|
||||
});
|
||||
|
||||
ServerPlayConnectionEvents.DISCONNECT.register((handler, server) -> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue