mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-08-31 01:27:55 +00:00
Fix inventories not showing up as peripherals.
An upstream commit changed the way these are registered and that got overlooked in the merge.
This commit is contained in:
@@ -24,6 +24,7 @@ import dan200.computercraft.shared.data.PlayerCreativeLootCondition;
|
|||||||
import dan200.computercraft.shared.media.items.RecordMedia;
|
import dan200.computercraft.shared.media.items.RecordMedia;
|
||||||
import dan200.computercraft.shared.network.NetworkHandler;
|
import dan200.computercraft.shared.network.NetworkHandler;
|
||||||
import dan200.computercraft.shared.peripheral.commandblock.CommandBlockPeripheral;
|
import dan200.computercraft.shared.peripheral.commandblock.CommandBlockPeripheral;
|
||||||
|
import dan200.computercraft.shared.peripheral.generic.methods.InventoryMethods;
|
||||||
import dan200.computercraft.shared.peripheral.modem.wireless.WirelessNetwork;
|
import dan200.computercraft.shared.peripheral.modem.wireless.WirelessNetwork;
|
||||||
import dan200.computercraft.shared.turtle.FurnaceRefuelHandler;
|
import dan200.computercraft.shared.turtle.FurnaceRefuelHandler;
|
||||||
import dan200.computercraft.shared.turtle.SignInspectHandler;
|
import dan200.computercraft.shared.turtle.SignInspectHandler;
|
||||||
@@ -53,6 +54,8 @@ public final class ComputerCraftProxyCommon {
|
|||||||
registerHandlers();
|
registerHandlers();
|
||||||
|
|
||||||
ArgumentSerializers.register();
|
ArgumentSerializers.register();
|
||||||
|
|
||||||
|
ComputerCraftAPI.registerGenericSource(new InventoryMethods());
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void registerProviders() {
|
private static void registerProviders() {
|
||||||
|
Reference in New Issue
Block a user