geforkt von Mirrors/Paper
Add Merchant slot delegate
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
8155ea419f
Commit
8c3cf217bb
@ -15,6 +15,7 @@ import net.minecraft.server.ContainerGrindstone;
|
|||||||
import net.minecraft.server.ContainerHopper;
|
import net.minecraft.server.ContainerHopper;
|
||||||
import net.minecraft.server.ContainerLectern;
|
import net.minecraft.server.ContainerLectern;
|
||||||
import net.minecraft.server.ContainerLoom;
|
import net.minecraft.server.ContainerLoom;
|
||||||
|
import net.minecraft.server.ContainerMerchant;
|
||||||
import net.minecraft.server.ContainerProperties;
|
import net.minecraft.server.ContainerProperties;
|
||||||
import net.minecraft.server.ContainerShulkerBox;
|
import net.minecraft.server.ContainerShulkerBox;
|
||||||
import net.minecraft.server.ContainerSmoker;
|
import net.minecraft.server.ContainerSmoker;
|
||||||
@ -247,6 +248,9 @@ public class CraftContainer extends Container {
|
|||||||
case STONECUTTER:
|
case STONECUTTER:
|
||||||
delegate = new ContainerStonecutter(windowId, bottom);
|
delegate = new ContainerStonecutter(windowId, bottom);
|
||||||
break;
|
break;
|
||||||
|
case MERCHANT:
|
||||||
|
delegate = new ContainerMerchant(windowId, bottom);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (delegate != null) {
|
if (delegate != null) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren