1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-20 03:35:51 +00:00

Actually use the wrapper in CargoNetTask#distributeItems

This commit is contained in:
Andrew Wong 2021-05-18 13:40:10 +02:00
parent 4704b9fa8f
commit 9e6aa5b39a
No known key found for this signature in database
GPG Key ID: F59F2C3DA0936DE4

View File

@ -112,7 +112,7 @@ class CargoNetworkTask implements Runnable {
return; return;
} }
ItemStack stack = slot.getItem(); ItemStack stack = slot.getItemStackWrapper();
int previousSlot = slot.getInt(); int previousSlot = slot.getInt();
List<Location> destinations = outputNodes.get(frequency); List<Location> destinations = outputNodes.get(frequency);