mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-23 21:38:00 +01:00
Fixed integer overflow
This commit is contained in:
parent
e5cb2df0ce
commit
f5f232241a
1 changed files with 1 additions and 1 deletions
|
@ -395,7 +395,7 @@ public class SpellDisguise extends AbstractSpell implements IAttachedEffect, ISu
|
|||
|
||||
if (player.isClientPlayer() && UClient.instance().getViewMode() == 0) {
|
||||
entity.setInvisible(true);
|
||||
entity.posY = -Integer.MIN_VALUE;
|
||||
entity.posY = Integer.MIN_VALUE;
|
||||
}
|
||||
|
||||
return player.getPlayerSpecies() == Race.CHANGELING;
|
||||
|
|
Loading…
Reference in a new issue