Fixed piston from unowned

This commit is contained in:
boy0001 2015-04-24 22:07:00 +10:00
parent 41bb2c0284
commit 5c6bc8b1ba
2 changed files with 43 additions and 30 deletions

View file

@ -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