mirror of
https://github.com/neoStudiosLCE/neoLegacy.git
synced 2026-08-20 09:57:09 +00:00
parent
7701841381
commit
04f2f36f27
|
|
@ -199,7 +199,7 @@ bool Ocelot::mobInteract(shared_ptr<Player> player)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (/*temptGoal->isRunning() &&*/ item != nullptr && item->id == Item::fish_raw_Id && player->distanceToSqr(shared_from_this()) < 3 * 3)
|
if (temptGoal->isRunning() && item != nullptr && item->id == Item::fish_raw_Id && player->distanceToSqr(shared_from_this()) < 3 * 3)
|
||||||
{
|
{
|
||||||
// 4J-PB - don't lose the fish in creative mode
|
// 4J-PB - don't lose the fish in creative mode
|
||||||
if (!player->abilities.instabuild) item->count--;
|
if (!player->abilities.instabuild) item->count--;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue