mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-20 03:35:51 +00:00
Replaced deprecated method
This commit is contained in:
parent
111424bae4
commit
b423c9bd87
@ -274,7 +274,7 @@ public class SlimefunStartup extends JavaPlugin {
|
||||
new BlockStorage(world);
|
||||
}
|
||||
|
||||
if (SlimefunItem.getByName("ANCIENT_ALTAR") != null) new AncientAltarListener((SlimefunStartup) instance);
|
||||
if (SlimefunItem.getByID("ANCIENT_ALTAR") != null) new AncientAltarListener((SlimefunStartup) instance);
|
||||
}
|
||||
}, 0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user