SPIGOT-4702: Exception when middle clicking certain slots
Dieser Commit ist enthalten in:
Ursprung
be557e69fa
Commit
51d62deced
@ -1332,7 +1332,7 @@
|
||||
+ case CLONE:
|
||||
+ if (packetplayinwindowclick.d() == 2) {
|
||||
+ click = ClickType.MIDDLE;
|
||||
+ if (packetplayinwindowclick.c() == -999) {
|
||||
+ if (packetplayinwindowclick.c() < 0) {
|
||||
+ action = InventoryAction.NOTHING;
|
||||
+ } else {
|
||||
+ Slot slot = this.player.activeContainer.getSlot(packetplayinwindowclick.c());
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren