forked from Upstream/CommandPanels
3.20.0.1
This commit is contained in:
parent
b88a5d62a9
commit
c48779291d
@ -8,4 +8,5 @@
|
|||||||
</option>
|
</option>
|
||||||
<option name="workspaceImportForciblyTurnedOn" value="true" />
|
<option name="workspaceImportForciblyTurnedOn" value="true" />
|
||||||
</component>
|
</component>
|
||||||
|
<component name="ProjectRootManager" version="2" languageLevel="JDK_21" project-jdk-name="17" project-jdk-type="JavaSDK" />
|
||||||
</project>
|
</project>
|
@ -1,4 +1,4 @@
|
|||||||
version: 3.20.0.0
|
version: 3.20.0.1
|
||||||
main: me.rockyhawk.commandpanels.CommandPanels
|
main: me.rockyhawk.commandpanels.CommandPanels
|
||||||
name: CommandPanels
|
name: CommandPanels
|
||||||
author: RockyHawk
|
author: RockyHawk
|
||||||
|
@ -485,13 +485,6 @@ public class ItemCreation {
|
|||||||
if(plugin.legacy.LOCAL_VERSION.greaterThanOrEqualTo(MinecraftVersions.v1_14)){
|
if(plugin.legacy.LOCAL_VERSION.greaterThanOrEqualTo(MinecraftVersions.v1_14)){
|
||||||
file.set("panels." + panelName + ".item." + i + ".customdata", Objects.requireNonNull(cont.getItemMeta()).getCustomModelData());
|
file.set("panels." + panelName + ".item." + i + ".customdata", Objects.requireNonNull(cont.getItemMeta()).getCustomModelData());
|
||||||
}
|
}
|
||||||
// try {
|
|
||||||
// ReadWriteNBT nbt = NBT.itemStackToNBT(cont);
|
|
||||||
// file.set("panels." + panelName + ".item." + i + ".nbt", nbt.toString());
|
|
||||||
// }catch(Exception ignore){
|
|
||||||
// //no nbt or error
|
|
||||||
// file.set("panels." + panelName + ".item." + i + ".nbt", null);
|
|
||||||
// }
|
|
||||||
}catch(Exception n){
|
}catch(Exception n){
|
||||||
//skip over an item that spits an error
|
//skip over an item that spits an error
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user