From 8b3404e5f8683c849de9d173911da943480bd388 Mon Sep 17 00:00:00 2001 From: tom lee Date: Wed, 29 Dec 2021 21:32:04 +0800 Subject: [PATCH] Cleanup for the saving in interface --- .../com/seibel/lod/core/objects/lod/LevelContainer.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/seibel/lod/core/objects/lod/LevelContainer.java b/src/main/java/com/seibel/lod/core/objects/lod/LevelContainer.java index 59e809b82..21bf121fc 100644 --- a/src/main/java/com/seibel/lod/core/objects/lod/LevelContainer.java +++ b/src/main/java/com/seibel/lod/core/objects/lod/LevelContainer.java @@ -105,13 +105,11 @@ public interface LevelContainer void updateData(LevelContainer lowerLevelContainer, int posX, int posZ); /** - * This will write the raw data without metadata to the output stream + * This will write the raw data with metadata to the output stream * @return isAllGenerated whether the data is all generated * @throws IOException */ - default boolean writeData(DataOutputStream output) throws IOException { - throw new UnsupportedOperationException(); - } + boolean writeData(DataOutputStream output) throws IOException; /** * This will give the data to save in the file