mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
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:
parent
757f5b2fbf
commit
ccdf003c8d
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user