We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 906dc0d commit 6e2294eCopy full SHA for 6e2294e
1 file changed
src/main/java/net/evmodder/evmod/onTick/AutoPlaceMapArt.java
@@ -367,7 +367,7 @@ private final MapPlacementData getNearestMapPlacement(PlayerEntity player){
367
// if(contents != null && !contents.isEmpty()) mapItem = contents.get(contents.size()-1);
368
369
final boolean ALLOW_ONLY_TOP_SLOT = !Configs.Generic.USE_BUNDLE_PACKET.getBooleanValue();
370
- final int TOP_SLOT = Configs.Generic.BUNDLES_ARE_REVERSED.getBooleanValue() ? contents.size()-1 : 0;
+ final int TOP_SLOT = Configs.Generic.BUNDLES_ARE_REVERSED.getBooleanValue() ? bundleSz-1 : 0;
371
for(int j=-1; j<bundleSz; ++j){
372
final ItemStack mapStack;
373
if(j == -1) mapStack = slots.get(i);
0 commit comments