Index: AE/packages/31000GlassBreakingMoves/patches/common/level0_Final/ONCC-.oni-patch
===================================================================
--- AE/packages/31000GlassBreakingMoves/patches/common/level0_Final/ONCC-.oni-patch	(revision 965)
+++ AE/packages/31000GlassBreakingMoves/patches/common/level0_Final/ONCC-.oni-patch	(revision 966)
@@ -6,4 +6,8 @@
 	myBuilder.load($xmlData);
 	var elements = myBuilder.elements[0];
+	
+	// If ONCP doesn't exist, ignore it
+	if (!elements.childElement("ONCP"))
+		return;
 	
 	// If there are no attacks in this TRAM, ignore it
@@ -28,3 +32,6 @@
 				particles.index + 1,
 				particles.level + 1);
+				
+	// Update the global variable with the new XML
+	$xmlData = myBuilder.generateXML();
 </code>
