Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-26 02:50:06 +01:00
Fixed unsafe operation in ServerInterface.
Dieser Commit ist enthalten in:
Ursprung
93ac198d80
Commit
491f63b196
@ -135,7 +135,8 @@ public class ServerInterface {
|
|||||||
for (byte i = 0; i <= 26; i++) {
|
for (byte i = 0; i <= 26; i++) {
|
||||||
Item item = chest.getItemFromSlot(i);
|
Item item = chest.getItemFromSlot(i);
|
||||||
if (item != null) {
|
if (item != null) {
|
||||||
items.put(i, new Countable(new BaseItem((short)item.getItemId()), item.getAmount()));
|
items.put(i, new Countable<BaseItem>(new BaseItem((short)item.getItemId()),
|
||||||
|
item.getAmount()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren