WalrusNetwork / bugs

Public bug tracker for Walrus, a Minecraft server organization.
https://walrus.gg
0 stars 0 forks source link

Enemy’s wool can’t be moved in inventory #21

Open fleuor opened 4 years ago

fleuor commented 4 years ago

On Limbo II, I spawned with a gap and when I got a kill I got a 2nd gap but it didnt stack with the one I spawned with (took up a new slot).

Elemental also had a problem where on GD5 the wool i was killed with was stuck in his inventory - he couldnt move it around his inventory or drop it.

mitchts commented 4 years ago

Gapples related to https://github.com/Picajoluna/Walrus-Bugs/issues/13

mattarnold98 commented 4 years ago

Adding the map label, see #13 for the new xml feature that'll fix limbo

dustinn1 commented 4 years ago

The item stacking issue should be fixed

mitchts commented 4 years ago

https://gitlab.com/WalrusNetwork/minecraft/walrus/-/blob/master/Games/octc/src/main/java/network/walrus/games/octc/ctw/wools/WoolListener.java#L200

I think changing this line to check if the inventory is an ender chest will resolve the issue. An ender chest should be the only inventory that a player is denied taking wool out of if it is not their own wool.

Picajoluna commented 4 years ago

I've just pushed a fix, code redacted due to NDA. But works for me now.