All errors have been resolved and it is now possible to compile the jar for the plugin. The only remaining problem is that the jar does not seem to be capable of generating the HerobrineAI config file. This is okay because we are slowly going to deviate from HerobrineAI to make Herobrine for Bukkit or Spigot. This commit only has one change to alter the HerobrineAI branding. After the README file is made, I'll repository up to the public so we can all work on our own open-source version of the plugin.

This commit is contained in:
David Berdik 2015-02-01 21:39:34 -05:00
parent f28353a315
commit 54f2f01d13
3 changed files with 29 additions and 4 deletions

View File

@ -0,0 +1,26 @@
-- Herobrine AI, the Bukkit plugin from which Herobrine for Bukkit or Spigot is --
-- derived, is licensed under the MIT license. --
-- Herobrine AI download page - http://dev.bukkit.org/bukkit-plugins/herobrine-ai/ --
-- MIT License - http://dev.bukkit.org/licenses/4-mit-license/ --
The MIT License
Copyright (c) <year> <copyright holders>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

View File

@ -74,7 +74,7 @@ public class HerobrineAI extends JavaPlugin implements Listener {
private void initHerobrine() {
if (configdb.useGraveyardWorld && (Bukkit.getServer().getWorld("world_herobrineai_graveyard") == null)) {
HerobrineAI.log.info("[HerobrineAI] Creating Graveyard world...");
HerobrineAI.log.info("[Herobrine] Creating Herobrine Graveyard world");
final WorldCreator wc = new WorldCreator("world_herobrineai_graveyard");
wc.generateStructures(false);
final WorldType type = WorldType.FLAT;

View File

@ -1,7 +1,6 @@
package org.jakub1221.herobrineai.hooks;
import net.t00thpick1.residence.api.ResidenceAPI;
import com.bekvon.bukkit.residence.*;
import org.bukkit.Bukkit;
import org.bukkit.Location;
@ -12,7 +11,7 @@ public class ResidenceHook {
}
public boolean isSecuredArea(final Location loc) {
return ResidenceAPI.getResidenceManager().getByLocation(loc) != null;
return Residence.getResidenceManager().getByLoc(loc) != null;
}
}