ResourcePacksPacketHandler: fixed chemistry being applied to top of stack instead of bottom

it seems like the stack order is reversed, so all 'regular' in-memory stack behaviour goes out of the window.
This commit is contained in:
Dylan K. Taylor 2020-01-22 08:26:44 +00:00
parent 757f5b2fbf
commit ccdf003c8d

View File

@ -115,7 +115,7 @@ class ResourcePacksPacketHandler extends PacketHandler{
}, $this->resourcePackManager->getResourceStack()); }, $this->resourcePackManager->getResourceStack());
//we support chemistry blocks by default, the client should already have this installed //we support chemistry blocks by default, the client should already have this installed
array_unshift($stack, new ResourcePackStackEntry("0fba4063-dba1-4281-9b89-ff9390653530", "1.0.0", "")); $stack[] = new ResourcePackStackEntry("0fba4063-dba1-4281-9b89-ff9390653530", "1.0.0", "");
//we don't force here, because it doesn't have user-facing effects //we don't force here, because it doesn't have user-facing effects
//but it does have an annoying side-effect when true: it makes //but it does have an annoying side-effect when true: it makes