コード例 #1
0
 public static boolean isPlotWorld(final BlockState b) {
   if (b == null) {
     return false;
   } else {
     return AthionPlots.AthionMaps.containsKey(b.getWorld().getName().toLowerCase());
   }
 }
コード例 #2
0
 /*
  * (non-Javadoc)
  * @see com.nitnelave.CreeperHeal.block.Replaceable#getWorld()
  */
 @Override
 public World getWorld() {
   return blockState.getWorld();
 }