mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Fix potentual issue with location != operator
This commit is contained in:
parent
17dbe10ff3
commit
d6220ff779
1 changed files with 2 additions and 2 deletions
|
|
@ -200,9 +200,9 @@ namespace MinecraftClient.Mapping
|
|||
public static bool operator !=(Location loc1, Location loc2)
|
||||
{
|
||||
if (loc1 == null && loc2 == null)
|
||||
return true;
|
||||
if (loc1 == null || loc2 == null)
|
||||
return false;
|
||||
if (loc1 == null || loc2 == null)
|
||||
return true;
|
||||
return !loc1.Equals(loc2);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue