Bläddra i källkod

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

Kajetan Johannes Hammerle 7 år sedan
förälder
incheckning
943b670612
1 ändrade filer med 2 tillägg och 4 borttagningar
  1. 2 4
      src/main/java/me/km/api/Location.java

+ 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 IllegalStringLocationException(location);
-            throw new HoldCodeException();
         }
         }
         catch(PatternSyntaxException | NumberFormatException ex)
         catch(PatternSyntaxException | NumberFormatException ex)
         {
         {
-            sc.getLogger().printException(new IllegalStringLocationException(location), "read.location", sc, sc.getActiveRealCodeLine());
+            throw new IllegalStringLocationException(location);
-            throw new HoldCodeException();
         }
         }
     }
     }