mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-08 13:33:11 +00:00
Fixed piston from unowned
This commit is contained in:
parent
41bb2c0284
commit
5c6bc8b1ba
2 changed files with 43 additions and 30 deletions
|
@ -79,6 +79,16 @@ public class MainUtil {
|
|||
}
|
||||
return myplots;
|
||||
}
|
||||
|
||||
public static boolean equals(Object a, Object b) {
|
||||
if (a == b) {
|
||||
return true;
|
||||
}
|
||||
if (a == null ^ b == null) {
|
||||
return false;
|
||||
}
|
||||
return a.equals(b);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the number of plots for a player
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue