mirror of
https://github.com/YouHaveTrouble/PreventStabby.git
synced 2026-05-12 05:16:55 +00:00
Improve exception handling and PvP process in DatabaseSQLite and PlayerManager
Refactored exception handling in DatabaseSQLite to use logger instead of printStackTrace() for better error tracking. Streamlined player PvP process in PlayerManager with clear conditions and appropriate responses. Enhancements in other classes were also made to ensure smooth execution and maintain code standards.
This commit is contained in:
@@ -15,7 +15,7 @@ import java.util.UUID;
|
||||
|
||||
public class Target {
|
||||
|
||||
public static final NamespacedKey playerSourceIdKey = new NamespacedKey("preventstabby", "playerSource");
|
||||
public static final NamespacedKey playerSourceIdKey = new NamespacedKey("preventstabby", "playersource");
|
||||
|
||||
/**
|
||||
* The unique identifier for a player.
|
||||
|
||||
Reference in New Issue
Block a user