Browse Source

Merge branch 'master' of seyfahni/minecraft-kajetans-mod into master

Kajetan Johannes Hammerle 8 năm trước cách đây
mục cha
commit
943b670612

+ 2 - 4
src/main/java/me/km/api/Location.java

@@ -82,13 +82,11 @@ public class Location
                 this.pitch = 0;
                 this.pitch = 0;
                 return;
                 return;
             }
             }
-            sc.getLogger().printException(new IllegalStringLocationException(location), "read.location", sc, sc.getActiveRealCodeLine());
-            throw new HoldCodeException();
+            throw new IllegalStringLocationException(location);
         }
         }
         catch(PatternSyntaxException | NumberFormatException ex)
         catch(PatternSyntaxException | NumberFormatException ex)
         {
         {
-            sc.getLogger().printException(new IllegalStringLocationException(location), "read.location", sc, sc.getActiveRealCodeLine());
-            throw new HoldCodeException();
+            throw new IllegalStringLocationException(location);
         }
         }
     }
     }