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