File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed 
version_new/src/main/kotlin/me/clip/voteparty/version Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import org.apache.tools.ant.filters.ReplaceTokens
22
33plugins  {
44	id ' org.jetbrains.kotlin.jvm' ' 2.0.0' 
5- 	id ' com .github.johnrengelman .shadow' ' 8.1.1 ' false 
5+ 	id ' io .github.goooler .shadow' ' 8.1.7 ' false 
66	id " com.github.ben-manes.versions" " 0.51.0" 
77	id " net.kyori.indra" " 3.1.3" 
88	id " net.kyori.indra.publishing" " 3.1.3" 
@@ -32,7 +32,7 @@ allprojects {
3232		implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk8" 
3333
3434		//  Support for materials across all versions
35- 		implementation ' com.github.cryptomorin:XSeries:11.0 .0' 
35+ 		implementation ' com.github.cryptomorin:XSeries:11.1 .0' 
3636	}
3737
3838	indra {
@@ -59,7 +59,7 @@ allprojects {
5959	}
6060}
6161
62- apply plugin : ' com .github.johnrengelman .shadow' 
62+ apply plugin : ' io .github.goooler .shadow' 
6363
6464shadowJar  {
6565	minimize()
Original file line number Diff line number Diff line change @@ -13,7 +13,14 @@ class VersionHookNew : VersionHook
1313	{
1414
1515		val  world =  location.world ? :  return 
16- 		val  particle =  XParticle .of(type.name)
16+ 		val  optionalParticle =  XParticle .of(type.name)
17+ 
18+ 		if  (! optionalParticle.isPresent)
19+ 		{
20+ 			return 
21+ 		}
22+ 
23+ 		val  particle =  optionalParticle.get()
1724
1825		if  (particle.get().dataType ==  DustOptions ::class .java)
1926		{
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments