mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-20 18:09:44 +00:00
Fix Null Disband Crash
This commit is contained in:
1 parent
d25dcc9f6a
commit
32a06dda62
2 files changed
+3
-2
No files matched your search
+1
-1
@@ -5,7 +5,7 @@ plugins {
|
||||
id 'idea'
|
||||
}
|
||||
|
||||
version = "1.9-beta5"
|
||||
version = "1.9-beta6"
|
||||
group= "kamkeel.customnpc-plus"
|
||||
archivesBaseName = "CustomNPC-Plus"
|
||||
|
||||
|
||||
@@ -441,7 +441,8 @@ public class GuiParty extends GuiCNPCInventory implements ITextfieldListener, IT
|
||||
@Override
|
||||
public void save() {
|
||||
if (this.partyChanged) {
|
||||
Client.sendData(EnumPacketServer.SavePartyData, ClientCacheHandler.party.writeClientNBT());
|
||||
if(ClientCacheHandler.party != null)
|
||||
Client.sendData(EnumPacketServer.SavePartyData, ClientCacheHandler.party.writeClientNBT());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user