13
0
geforkt von Mirrors/Paper

Add Merchant slot delegate

Dieser Commit ist enthalten in:
md_5 2020-04-05 16:29:43 +10:00
Ursprung b2de47d581
Commit 498540e082

Datei anzeigen

@ -15,6 +15,7 @@ import net.minecraft.server.ContainerGrindstone;
import net.minecraft.server.ContainerHopper;
import net.minecraft.server.ContainerLectern;
import net.minecraft.server.ContainerLoom;
import net.minecraft.server.ContainerMerchant;
import net.minecraft.server.ContainerProperties;
import net.minecraft.server.ContainerShulkerBox;
import net.minecraft.server.ContainerSmoker;
@ -247,6 +248,9 @@ public class CraftContainer extends Container {
case STONECUTTER:
delegate = new ContainerStonecutter(windowId, bottom);
break;
case MERCHANT:
delegate = new ContainerMerchant(windowId, bottom);
break;
}
if (delegate != null) {