Skip to content

Commit

Permalink
Fix syncing for real
Browse files Browse the repository at this point in the history
  • Loading branch information
MrNavaStar committed Dec 13, 2021
1 parent af39bd1 commit 6409ad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/mrnavastar/invsync/InvSync.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public void onInitialize() {
if (validConfig) {
playerData = database.createTable("PlayerData");

ServerPlayConnectionEvents.INIT.register((handler, server) -> {
ServerPlayConnectionEvents.JOIN.register((handler, s, server) -> {
try {
TimeUnit.SECONDS.sleep(1); //Maybe we can find a less shit solution in the future
playerData.beginTransaction();
Expand Down

0 comments on commit 6409ad1

Please sign in to comment.