1
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:
SoSeDiK 2018-04-16 19:46:18 +03:00 committed by GitHub
parent 111424bae4
commit b423c9bd87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);