fix: item frame rotation

This commit is contained in:
Fireblade
2026-05-04 21:54:12 -04:00
parent b750c4bbf4
commit a28d817d6c
3 changed files with 21 additions and 47 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ int ItemFrame::getRotation()
void ItemFrame::setRotation(int rotation)
{
getEntityData()->set(DATA_ROTATION, static_cast<byte>(rotation % 4));
getEntityData()->set(DATA_ROTATION, static_cast<byte>(rotation % 8));
}
void ItemFrame::addAdditonalSaveData(CompoundTag *tag)