mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-11-09 05:25:00 +01:00
@@ -51,6 +51,9 @@ public class PlotInventory {
|
||||
}
|
||||
|
||||
public PlotItemStack getItem(int index) {
|
||||
if (index < 0 || index >= items.length) {
|
||||
return null;
|
||||
}
|
||||
return items[index];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user