Added debug
This commit is contained in:
parent
e2068d19e2
commit
e75cfb903e
@ -3,7 +3,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.cimeyclust.addonreader.resources</groupId>
|
||||
<artifactId>CustomResources</artifactId>
|
||||
<version>1.1.0</version>
|
||||
<version>1.2.0</version>
|
||||
<build>
|
||||
<defaultGoal>clean package</defaultGoal>
|
||||
<resources>
|
||||
|
||||
@ -57,6 +57,7 @@ public class Plugin extends PluginBase {
|
||||
.collect(Collectors.toSet());
|
||||
|
||||
for (Class<? extends CustomItem> clazz : items) {
|
||||
getLogger().info("§aLoading custom item " + clazz + "...");
|
||||
try {
|
||||
Item.registerCustomItem(clazz).assertOK();
|
||||
} catch (AssertionError e) {
|
||||
@ -72,6 +73,7 @@ public class Plugin extends PluginBase {
|
||||
.collect(Collectors.toSet());
|
||||
|
||||
for (Class<? extends Entity> clazz : entities) {
|
||||
getLogger().info("§aLoading custom entity " + clazz + "...");
|
||||
try {
|
||||
Entity.registerCustomEntity(new CustomClassEntityProvider(clazz)).assertOK();
|
||||
entities.add(clazz);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user