From 413c76915f6bec3bb6ca77d27838a5f24bca37ec Mon Sep 17 00:00:00 2001 From: WiredSpast Date: Sun, 19 Mar 2023 12:14:58 +0100 Subject: [PATCH] Reformat StuffData --- .../extensions/parsers/stuffdata/IStuffData.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/G-Earth/src/main/java/gearth/extensions/parsers/stuffdata/IStuffData.java b/G-Earth/src/main/java/gearth/extensions/parsers/stuffdata/IStuffData.java index 710aacb..7a1dd7a 100644 --- a/G-Earth/src/main/java/gearth/extensions/parsers/stuffdata/IStuffData.java +++ b/G-Earth/src/main/java/gearth/extensions/parsers/stuffdata/IStuffData.java @@ -8,28 +8,28 @@ public interface IStuffData { StuffDataBase stuffData = null; switch (a & 255) { - case 0: + case LegacyStuffData.IDENTIFIER: stuffData = new LegacyStuffData(); break; - case 1: + case MapStuffData.IDENTIFIER: stuffData = new MapStuffData(); break; - case 2: + case StringArrayStuffData.IDENTIFIER: stuffData = new StringArrayStuffData(); break; - case 3: + case VoteResultStuffData.IDENTIFIER: stuffData = new VoteResultStuffData(); break; - case 4: + case EmptyStuffData.IDENTIFIER: stuffData = new EmptyStuffData(); break; - case 5: + case IntArrayStuffData.IDENTIFIER: stuffData = new IntArrayStuffData(); break; - case 6: + case HighScoreStuffData.IDENTIFIER: stuffData = new HighScoreStuffData(); break; - case 7: + case CrackableStuffData.IDENTIFIER: stuffData = new CrackableStuffData(); break; }