mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-22 23:10:52 +01:00
Fix monster plant duplication glitch
This commit is contained in:
parent
113103492e
commit
b02beb8ce3
@ -13,7 +13,7 @@ public class BreedMonsterplantsEvent extends MessageHandler {
|
||||
Pet petOne = this.client.getHabbo().getHabboInfo().getCurrentRoom().getPet(this.packet.readInt());
|
||||
Pet petTwo = this.client.getHabbo().getHabboInfo().getCurrentRoom().getPet(this.packet.readInt());
|
||||
|
||||
if (petOne == null || petTwo == null) {
|
||||
if (petOne == null || petTwo == null || petOne == petTwo) {
|
||||
//TODO Add error
|
||||
return;
|
||||
}
|
||||
@ -23,4 +23,4 @@ public class BreedMonsterplantsEvent extends MessageHandler {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user