Fixed Sq'irks
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@ public class BrawlingGlovesManager {
|
||||
try {
|
||||
registerGlove(id, Objects.requireNonNull(BrawlingGloves.forId(id)).getCharges());
|
||||
} catch (Exception e){
|
||||
System.out.println(e);
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
public void registerGlove(int id, int charges) {GloveCharges.putIfAbsent(id,charges);}
|
||||
|
||||
+1401
-1321
File diff suppressed because it is too large
Load Diff
@@ -161,7 +161,7 @@ public class IoSession {
|
||||
try {
|
||||
writingLock.tryLock(1000L, TimeUnit.MILLISECONDS);
|
||||
} catch (Exception e){
|
||||
System.out.println(e);
|
||||
e.printStackTrace();
|
||||
writingLock.unlock();
|
||||
}
|
||||
writingQueue.add(buffer);
|
||||
@@ -180,7 +180,7 @@ public class IoSession {
|
||||
try {
|
||||
writingLock.tryLock(1000L, TimeUnit.MILLISECONDS);
|
||||
} catch (Exception e){
|
||||
System.out.println(e);
|
||||
e.printStackTrace();
|
||||
writingLock.unlock();
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -55,7 +55,7 @@ public class DatabaseManager {
|
||||
return statement.executeQuery(query);
|
||||
|
||||
} catch (SQLException e) {
|
||||
System.out.println(e);
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
return null;
|
||||
@@ -75,7 +75,7 @@ public class DatabaseManager {
|
||||
return statement.executeUpdate(query);
|
||||
|
||||
} catch (SQLException e) {
|
||||
System.out.println(e);
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user