From fe2d118352f824e177cb2cf003f9329d30f81240 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Tue, 22 Nov 2016 10:53:36 +1100 Subject: [PATCH] Implement default title for custom merchants By: md_5 --- .../src/main/java/org/bukkit/craftbukkit/CraftServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java index b3de034a68..a838dfe290 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/CraftServer.java @@ -1484,7 +1484,7 @@ public final class CraftServer implements Server { @Override public Merchant createMerchant(String title) { - return new CraftMerchantCustom(title); + return new CraftMerchantCustom(title == null ? InventoryType.MERCHANT.getDefaultTitle() : title); } @Override