refactoring: comment on Gate class
This commit is contained in:
parent
7e300d9c03
commit
a07df19c40
@ -13,6 +13,9 @@ import org.mcteam.ancientgates.util.LocationSerializer;
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Adds persistence and serialization to the base gate class.
|
||||||
|
*/
|
||||||
public class Gate extends BaseGate implements ConfigurationSerializable
|
public class Gate extends BaseGate implements ConfigurationSerializable
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
@ -128,7 +131,6 @@ public class Gate extends BaseGate implements ConfigurationSerializable
|
|||||||
gate.id = id;
|
gate.id = id;
|
||||||
instances.put(gate.id, gate);
|
instances.put(gate.id, gate);
|
||||||
Plugin.log("created new gate " + gate.id);
|
Plugin.log("created new gate " + gate.id);
|
||||||
//faction.save();
|
|
||||||
return gate;
|
return gate;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -146,7 +148,6 @@ public class Gate extends BaseGate implements ConfigurationSerializable
|
|||||||
|
|
||||||
public static void delete(String id)
|
public static void delete(String id)
|
||||||
{
|
{
|
||||||
// Remove the faction
|
|
||||||
instances.remove(id);
|
instances.remove(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user