turt2live / AntiShare

Creative Awkwardness (Multi-platform plugin)
GNU General Public License v3.0
5 stars 4 forks source link

Item drop on death #119

Closed airwulf1 closed 10 years ago

airwulf1 commented 10 years ago

I have a very annoying problem the past 2-3 months. (Since 5.5.0 AS/1.6 CB I guess). When creative players die their items won't drop at all (always). They just die and no items will come on the ground, they just vanish.

I will supply more info if I get it but I alway see these things with this issue:

  1. The player must have switched at least once to creative and back during his "alive period"
  2. The items never drop, they just disappear.
  3. The player died in survival mode (obviously)
  4. It does not happen if the player didnt' switch to creative during his "lifetime"

There are no errors. I think for some reason the inventory file of the player gets bugged. This has happend over 50 times now, and always with creative players.

airwulf1 commented 10 years ago

Updated it with more accurate info.

turt2live commented 10 years ago

That's supposed to happen. There are options in the configuration to control this.

turt2live commented 10 years ago

Are you looking to have items drop when players switch gamemode?

I don't think I understand what you're asking.

sent from mobile On Nov 5, 2013 10:47 AM, "airwulf1" notifications@github.com wrote:

Bug is still here. 10 minutes after people switched to survival their items do not drop. This is a very annoying issue because people lose full god armor sets constantly.

— Reply to this email directly or view it on GitHubhttps://github.com/turt2live/AntiShare/issues/119#issuecomment-27795450 .

airwulf1 commented 10 years ago

No I have a big problem.

Player A has 2 diamonds in survival inventory. He switches to creative. He gets a different inventory. All good. Then A switches back to survival and he has 2 diamonds again. Still all good.

Player A now dies, I tested it with falling from heights. The items (2 diamonds) do not drop upon death (in survival). I just replicated this 6 times in a row.

This is my config, please help: http://pastebin.com/6ydKKnRq

Edit: Method of death doesn't seem to matter. Only thing that matters is if the guy has switched to creative in his lifespan. If the guy did not switch to survival in his lifespan then the items WILL drop as it should.

turt2live commented 10 years ago

Ah, alright then.

That's a confirmed issue.