Use correct SlotType's for merchants. Fixes BUKKIT-2257
Dieser Commit ist enthalten in:
Ursprung
b059962a5c
Commit
fc35d000e4
@ -102,6 +102,13 @@ public class CraftInventoryView extends InventoryView {
|
|||||||
type = SlotType.CRAFTING;
|
type = SlotType.CRAFTING;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case MERCHANT:
|
||||||
|
if (slot == 2) {
|
||||||
|
type = SlotType.RESULT;
|
||||||
|
} else {
|
||||||
|
type = SlotType.CRAFTING;
|
||||||
|
}
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
// Nothing to do, it's a CONTAINER slot
|
// Nothing to do, it's a CONTAINER slot
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren