mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-30 09:50:51 +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 petOne = this.client.getHabbo().getHabboInfo().getCurrentRoom().getPet(this.packet.readInt());
|
||||||
Pet petTwo = 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
|
//TODO Add error
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user