mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-12-17 07:18:45 +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