Fixed /sc check command to check the silent chest status. #118
@@ -21,7 +21,7 @@
 | 
				
			|||||||
  <parent>
 | 
					  <parent>
 | 
				
			||||||
    <groupId>com.lishid</groupId>
 | 
					    <groupId>com.lishid</groupId>
 | 
				
			||||||
    <artifactId>openinvparent</artifactId>
 | 
					    <artifactId>openinvparent</artifactId>
 | 
				
			||||||
    <version>4.0.9-SNAPSHOT</version>
 | 
					    <version>4.0.10-SNAPSHOT</version>
 | 
				
			||||||
  </parent>
 | 
					  </parent>
 | 
				
			||||||
| 
						
							
	
	
	
	
	
	
	
	 | 
				|||||||
 | 
					
 | 
				
			||||||
  <artifactId>openinvapi</artifactId>
 | 
					  <artifactId>openinvapi</artifactId>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -21,7 +21,7 @@
 | 
				
			|||||||
  <parent>
 | 
					  <parent>
 | 
				
			||||||
    <groupId>com.lishid</groupId>
 | 
					    <groupId>com.lishid</groupId>
 | 
				
			||||||
    <artifactId>openinvparent</artifactId>
 | 
					    <artifactId>openinvparent</artifactId>
 | 
				
			||||||
    <version>4.0.9-SNAPSHOT</version>
 | 
					    <version>4.0.10-SNAPSHOT</version>
 | 
				
			||||||
  </parent>
 | 
					  </parent>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <artifactId>openinvassembly</artifactId>
 | 
					  <artifactId>openinvassembly</artifactId>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -21,7 +21,7 @@
 | 
				
			|||||||
  <parent>
 | 
					  <parent>
 | 
				
			||||||
    <groupId>com.lishid</groupId>
 | 
					    <groupId>com.lishid</groupId>
 | 
				
			||||||
    <artifactId>openinvparent</artifactId>
 | 
					    <artifactId>openinvparent</artifactId>
 | 
				
			||||||
    <version>4.0.9-SNAPSHOT</version>
 | 
					    <version>4.0.10-SNAPSHOT</version>
 | 
				
			||||||
  </parent>
 | 
					  </parent>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <artifactId>openinvcommon</artifactId>
 | 
					  <artifactId>openinvcommon</artifactId>
 | 
				
			||||||
@@ -31,7 +31,7 @@
 | 
				
			|||||||
    <dependency>
 | 
					    <dependency>
 | 
				
			||||||
      <groupId>com.lishid</groupId>
 | 
					      <groupId>com.lishid</groupId>
 | 
				
			||||||
      <artifactId>openinvapi</artifactId>
 | 
					      <artifactId>openinvapi</artifactId>
 | 
				
			||||||
      <version>4.0.9-SNAPSHOT</version>
 | 
					      <version>4.0.10-SNAPSHOT</version>
 | 
				
			||||||
    </dependency>
 | 
					    </dependency>
 | 
				
			||||||
    <dependency>
 | 
					    <dependency>
 | 
				
			||||||
      <groupId>org.spigotmc</groupId>
 | 
					      <groupId>org.spigotmc</groupId>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -20,7 +20,7 @@
 | 
				
			|||||||
  <parent>
 | 
					  <parent>
 | 
				
			||||||
    <groupId>com.lishid</groupId>
 | 
					    <groupId>com.lishid</groupId>
 | 
				
			||||||
    <artifactId>openinvparent</artifactId>
 | 
					    <artifactId>openinvparent</artifactId>
 | 
				
			||||||
    <version>4.0.9-SNAPSHOT</version>
 | 
					    <version>4.0.10-SNAPSHOT</version>
 | 
				
			||||||
  </parent>
 | 
					  </parent>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <artifactId>openinvinternal</artifactId>
 | 
					  <artifactId>openinvinternal</artifactId>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -22,7 +22,7 @@
 | 
				
			|||||||
  <parent>
 | 
					  <parent>
 | 
				
			||||||
    <groupId>com.lishid</groupId>
 | 
					    <groupId>com.lishid</groupId>
 | 
				
			||||||
    <artifactId>openinvinternal</artifactId>
 | 
					    <artifactId>openinvinternal</artifactId>
 | 
				
			||||||
    <version>4.0.9-SNAPSHOT</version>
 | 
					    <version>4.0.10-SNAPSHOT</version>
 | 
				
			||||||
  </parent>
 | 
					  </parent>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <artifactId>openinvadapter1_14_R1</artifactId>
 | 
					  <artifactId>openinvadapter1_14_R1</artifactId>
 | 
				
			||||||
@@ -38,7 +38,7 @@
 | 
				
			|||||||
    <dependency>
 | 
					    <dependency>
 | 
				
			||||||
      <groupId>com.lishid</groupId>
 | 
					      <groupId>com.lishid</groupId>
 | 
				
			||||||
      <artifactId>openinvcommon</artifactId>
 | 
					      <artifactId>openinvcommon</artifactId>
 | 
				
			||||||
      <version>4.0.9-SNAPSHOT</version>
 | 
					      <version>4.0.10-SNAPSHOT</version>
 | 
				
			||||||
    </dependency>
 | 
					    </dependency>
 | 
				
			||||||
  </dependencies>
 | 
					  </dependencies>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -72,4 +72,4 @@
 | 
				
			|||||||
    </plugins>
 | 
					    </plugins>
 | 
				
			||||||
  </build>
 | 
					  </build>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
</project>
 | 
					</project>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -22,7 +22,7 @@
 | 
				
			|||||||
  <parent>
 | 
					  <parent>
 | 
				
			||||||
    <groupId>com.lishid</groupId>
 | 
					    <groupId>com.lishid</groupId>
 | 
				
			||||||
    <artifactId>openinvinternal</artifactId>
 | 
					    <artifactId>openinvinternal</artifactId>
 | 
				
			||||||
    <version>4.0.9-SNAPSHOT</version>
 | 
					    <version>4.0.10-SNAPSHOT</version>
 | 
				
			||||||
  </parent>
 | 
					  </parent>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <artifactId>openinvadapter1_15_R1</artifactId>
 | 
					  <artifactId>openinvadapter1_15_R1</artifactId>
 | 
				
			||||||
@@ -38,7 +38,7 @@
 | 
				
			|||||||
    <dependency>
 | 
					    <dependency>
 | 
				
			||||||
      <groupId>com.lishid</groupId>
 | 
					      <groupId>com.lishid</groupId>
 | 
				
			||||||
      <artifactId>openinvcommon</artifactId>
 | 
					      <artifactId>openinvcommon</artifactId>
 | 
				
			||||||
      <version>4.0.9-SNAPSHOT</version>
 | 
					      <version>4.0.10-SNAPSHOT</version>
 | 
				
			||||||
    </dependency>
 | 
					    </dependency>
 | 
				
			||||||
  </dependencies>
 | 
					  </dependencies>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -72,4 +72,4 @@
 | 
				
			|||||||
    </plugins>
 | 
					    </plugins>
 | 
				
			||||||
  </build>
 | 
					  </build>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
</project>
 | 
					</project>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -21,7 +21,7 @@
 | 
				
			|||||||
  <parent>
 | 
					  <parent>
 | 
				
			||||||
    <groupId>com.lishid</groupId>
 | 
					    <groupId>com.lishid</groupId>
 | 
				
			||||||
    <artifactId>openinvinternal</artifactId>
 | 
					    <artifactId>openinvinternal</artifactId>
 | 
				
			||||||
    <version>4.0.9-SNAPSHOT</version>
 | 
					    <version>4.0.10-SNAPSHOT</version>
 | 
				
			||||||
  </parent>
 | 
					  </parent>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <artifactId>openinvadapter1_8_R3</artifactId>
 | 
					  <artifactId>openinvadapter1_8_R3</artifactId>
 | 
				
			||||||
@@ -37,7 +37,7 @@
 | 
				
			|||||||
    <dependency>
 | 
					    <dependency>
 | 
				
			||||||
      <groupId>com.lishid</groupId>
 | 
					      <groupId>com.lishid</groupId>
 | 
				
			||||||
      <artifactId>openinvcommon</artifactId>
 | 
					      <artifactId>openinvcommon</artifactId>
 | 
				
			||||||
      <version>4.0.9-SNAPSHOT</version>
 | 
					      <version>4.0.10-SNAPSHOT</version>
 | 
				
			||||||
    </dependency>
 | 
					    </dependency>
 | 
				
			||||||
  </dependencies>
 | 
					  </dependencies>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -21,7 +21,7 @@
 | 
				
			|||||||
  <parent>
 | 
					  <parent>
 | 
				
			||||||
    <groupId>com.lishid</groupId>
 | 
					    <groupId>com.lishid</groupId>
 | 
				
			||||||
    <artifactId>openinvparent</artifactId>
 | 
					    <artifactId>openinvparent</artifactId>
 | 
				
			||||||
    <version>4.0.9-SNAPSHOT</version>
 | 
					    <version>4.0.10-SNAPSHOT</version>
 | 
				
			||||||
  </parent>
 | 
					  </parent>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <artifactId>openinvplugincore</artifactId>
 | 
					  <artifactId>openinvplugincore</artifactId>
 | 
				
			||||||
@@ -31,7 +31,7 @@
 | 
				
			|||||||
    <dependency>
 | 
					    <dependency>
 | 
				
			||||||
      <groupId>com.lishid</groupId>
 | 
					      <groupId>com.lishid</groupId>
 | 
				
			||||||
      <artifactId>openinvcommon</artifactId>
 | 
					      <artifactId>openinvcommon</artifactId>
 | 
				
			||||||
      <version>4.0.9-SNAPSHOT</version>
 | 
					      <version>4.0.10-SNAPSHOT</version>
 | 
				
			||||||
    </dependency>
 | 
					    </dependency>
 | 
				
			||||||
    <dependency>
 | 
					    <dependency>
 | 
				
			||||||
      <groupId>org.spigotmc</groupId>
 | 
					      <groupId>org.spigotmc</groupId>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -40,7 +40,7 @@ public class SilentChestPluginCommand implements CommandExecutor {
 | 
				
			|||||||
        Player player = (Player) sender;
 | 
					        Player player = (Player) sender;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if (args.length > 0 && args[0].equalsIgnoreCase("check")) {
 | 
					        if (args.length > 0 && args[0].equalsIgnoreCase("check")) {
 | 
				
			||||||
            sender.sendMessage("SilentChest is " + (plugin.getPlayerAnyChestStatus(player) ? "ON" : "OFF") + ".");
 | 
					            sender.sendMessage("SilentChest is " + (plugin.getPlayerSilentChestStatus(player) ? "ON" : "OFF") + ".");
 | 
				
			||||||
            return true;
 | 
					            return true;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										2
									
								
								pom.xml
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								pom.xml
									
									
									
									
									
								
							@@ -21,7 +21,7 @@
 | 
				
			|||||||
  <artifactId>openinvparent</artifactId>
 | 
					  <artifactId>openinvparent</artifactId>
 | 
				
			||||||
  <name>OpenInvParent</name>
 | 
					  <name>OpenInvParent</name>
 | 
				
			||||||
  <url>http://dev.bukkit.org/bukkit-plugins/openinv/</url>
 | 
					  <url>http://dev.bukkit.org/bukkit-plugins/openinv/</url>
 | 
				
			||||||
  <version>4.0.9-SNAPSHOT</version>
 | 
					  <version>4.0.10-SNAPSHOT</version>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <packaging>pom</packaging>
 | 
					  <packaging>pom</packaging>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user
	
Usually you don't want to touch the version in PRs, as the repo
Also, this would make the PR a much more manageable one-line change instead of a larger 10 file change.