bl4ckscor3 / GlobalXP

Adds a block to store XP accessible to all players
https://curseforge.com/minecraft/mc-mods/global-xp
MIT License
7 stars 6 forks source link

XP Block drops on destruction in creative #10

Closed ghost closed 5 years ago

ghost commented 5 years ago

Version

globalxp-1.12.x-v1.4.jar globalxp-1.13.2-v1.4.jar

Expected behavior

Blocks don't drop anything on destruction.

Actual behaviour

Issue title says it all, but just in case. 2019-03-03_09 48 19

bl4ckscor3 commented 5 years ago

That's intended so you don't accidentally lose XP when you are in creative mode temporarily. The behavior for shulker boxes is the same.

I'll fix the block dropping when it's empty, though.

ghost commented 5 years ago

That's intended so you don't accidentally lose XP when you are in creative mode temporarily. The behavior for shulker boxes is the same.

I'll fix the block dropping when it's empty, though.

Yeah, that's what I thought at first. As I remember, there's similar thing with capacitor from EnderIO, it saves its state as dropped item. but only if destroyed by player in survival.