fix: rewrote CharacterEvent equals for nullability compatibility
This commit is contained in:
		@ -53,7 +53,7 @@ public class CharacterEvent extends Event {
 | 
			
		||||
        if (o == null || getClass() != o.getClass()) return false;
 | 
			
		||||
        if (!super.equals(o)) return false;
 | 
			
		||||
        CharacterEvent that = (CharacterEvent) o;
 | 
			
		||||
        return Objects.equals(originEntity, that.originEntity) && Objects.equals(targetEntity, that.targetEntity) && Objects.equals(originField, that.originField) && Objects.equals(targetField, that.targetField) && Objects.equals(amount, that.amount) && stoneType == that.stoneType;
 | 
			
		||||
        return Objects.equals(originEntity, that.originEntity) && Objects.equals(targetEntity, that.targetEntity) && Objects.equals(originField, that.originField) && Objects.equals(targetField, that.targetField) && Objects.equals(amount, that.amount) && Objects.equals(stoneType, that.stoneType);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user