Skip to content
This repository has been archived by the owner on Apr 19, 2021. It is now read-only.

SnowGolems:saveNBT() stores value in incorrect tag type. #359

Closed
95CivicSi opened this issue Aug 12, 2019 · 0 comments
Closed

SnowGolems:saveNBT() stores value in incorrect tag type. #359

95CivicSi opened this issue Aug 12, 2019 · 0 comments

Comments

@95CivicSi
Copy link
Collaborator

$this->namedtag->setInt(NBTConst::NBT_KEY_PUMPKIN, $this->sheared ? 0 : 1); // default: has pumpkin on his head (1 - pumpkin on head, 0 - pumpkin off!)

Should be stored as a byte tag.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant