1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-20 03:35:51 +00:00

(By the way, you know this breaks convention)

This commit is contained in:
Daniel Walsh 2020-03-11 02:10:57 +00:00 committed by GitHub
parent c1aa385fae
commit 865ff25d4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -157,7 +157,7 @@ public class SlimefunItemStack extends CustomItem {
* @return The {@link SlimefunItem} for this SlimefunItemStack, null if not found. * @return The {@link SlimefunItem} for this SlimefunItemStack, null if not found.
*/ */
public SlimefunItem getItem() { public SlimefunItem getItem() {
return SlimefunItem.getById(this.id); return SlimefunItem.getByID(this.id);
} }
public ImmutableItemMeta getImmutableMeta() { public ImmutableItemMeta getImmutableMeta() {