Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 12:30:06 +01:00
Implement default title for custom merchants
Dieser Commit ist enthalten in:
Ursprung
6220b5c542
Commit
7359112e8c
@ -1484,7 +1484,7 @@ public final class CraftServer implements Server {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Merchant createMerchant(String title) {
|
public Merchant createMerchant(String title) {
|
||||||
return new CraftMerchantCustom(title);
|
return new CraftMerchantCustom(title == null ? InventoryType.MERCHANT.getDefaultTitle() : title);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren