Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
HaHaWTH committed Dec 17, 2024
1 parent a5689eb commit 76f7c3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/catserver/server/CatServer.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public static void onServerStop() {
AsyncChatThread.shutdown();
}

public static void onWorldDataLave(SaveHandler handler, WorldInfo worldInfo, NBTTagCompound tagCompound) {
public static void onWorldDataLoad(SaveHandler handler, WorldInfo worldInfo, NBTTagCompound tagCompound) {
NBTTagCompound catserverData = tagCompound.getCompoundTag("catserver");
BukkitWorldDimensionManager.load(catserverData);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ public void handleWorldDataLoad(SaveHandler handler, WorldInfo worldInfo, NBTTag
}
}
}
catserver.server.CatServer.onWorldDataLave(handler, worldInfo, tagCompound); // CatServer
catserver.server.CatServer.onWorldDataLoad(handler, worldInfo, tagCompound); // CatServer
}

public void confirmBackupLevelDatUse(SaveHandler handler)
Expand Down

0 comments on commit 76f7c3c

Please sign in to comment.