mirror of
https://github.com/GeorgH93/Minepacks.git
synced 2025-02-23 02:52:38 +01:00
Update to V1.3
This commit is contained in:
parent
3922fbdf97
commit
c8bf481d1a
2
pom.xml
2
pom.xml
@ -2,7 +2,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>at.pcgamingfreaks</groupId>
|
||||
<artifactId>MinePacks</artifactId>
|
||||
<version>1.2.3</version>
|
||||
<version>1.3</version>
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>in-project</id>
|
||||
|
@ -46,6 +46,10 @@ public byte[] toByteArray(Inventory inv)
|
||||
|
||||
public ItemStack[] toItemStack(byte[] data)
|
||||
{
|
||||
if(data == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
try
|
||||
{
|
||||
BukkitObjectInputStream bois = new BukkitObjectInputStream(new ByteArrayInputStream(data));
|
||||
|
Loading…
Reference in New Issue
Block a user