Trap assertion error #44
-
Beta Was this translation helpful? Give feedback.
Answered by
NichtStudioCode
Aug 1, 2023
Replies: 1 comment 1 reply
-
It's this method: // net.minecraft.world.item.ItemStack
private void updateEmptyCacheFlag() {
if (this.emptyCacheFlag && this == EMPTY) {
throw new AssertionError("TRAP");
} else {
this.emptyCacheFlag = false;
this.emptyCacheFlag = this.isEmpty();
}
} Seems like you're trying to change the amount of an empty stack (air)? |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
NichtStudioCode
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's this method:
Seems like you're trying to change the amount of an empty stack (air)?