mirror of
				https://github.com/IntellectualSites/PlotSquared.git
				synced 2025-11-03 18:53:43 +01:00 
			
		
		
		
	fixed owners not being able to view plot inbox.
This commit is contained in:
		@@ -8,7 +8,7 @@
 | 
				
			|||||||
	    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 | 
						    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 | 
				
			||||||
	</properties>
 | 
						</properties>
 | 
				
			||||||
    <artifactId>PlotSquared</artifactId>
 | 
					    <artifactId>PlotSquared</artifactId>
 | 
				
			||||||
    <version>2.5.10</version>
 | 
					    <version>2.5.11</version>
 | 
				
			||||||
    <name>PlotSquared</name>
 | 
					    <name>PlotSquared</name>
 | 
				
			||||||
    <packaging>jar</packaging>
 | 
					    <packaging>jar</packaging>
 | 
				
			||||||
    <build>
 | 
					    <build>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -66,7 +66,7 @@ public class Inbox extends SubCommand {
 | 
				
			|||||||
        final UUID uuid = UUIDHandler.getUUID(plr);
 | 
					        final UUID uuid = UUIDHandler.getUUID(plr);
 | 
				
			||||||
        if (PlotMain.hasPermission(plr, "plots.comment.admin")) {
 | 
					        if (PlotMain.hasPermission(plr, "plots.comment.admin")) {
 | 
				
			||||||
            tier = 0;
 | 
					            tier = 0;
 | 
				
			||||||
        } else if (plot != null && plot.owner == uuid) {
 | 
					        } else if (plot != null && plot.owner.equals(uuid)) {
 | 
				
			||||||
            tier = 1;
 | 
					            tier = 1;
 | 
				
			||||||
        } else if (plot != null && plot.helpers.contains(uuid)) {
 | 
					        } else if (plot != null && plot.helpers.contains(uuid)) {
 | 
				
			||||||
            tier = 2;
 | 
					            tier = 2;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user