Browse Source

Fixed issue with holograms. Updated version to 2.4.5

master
pintux98 6 years ago
parent
commit
9b4ff20280
  1. 2
      MultiArena-TheBridge/plugin.yml
  2. 2
      MultiArena-TheBridge/pom.xml
  3. 6
      MultiArena-TheBridge/src/cx/sfy/TheBridge/hologram/TruenoHologram_v1_10_R1.java
  4. 6
      MultiArena-TheBridge/src/cx/sfy/TheBridge/hologram/TruenoHologram_v1_11_R1.java
  5. 6
      MultiArena-TheBridge/src/cx/sfy/TheBridge/hologram/TruenoHologram_v1_12_R1.java
  6. 8
      MultiArena-TheBridge/src/cx/sfy/TheBridge/hologram/TruenoHologram_v1_8_R3.java
  7. 6
      MultiArena-TheBridge/src/cx/sfy/TheBridge/hologram/TruenoHologram_v1_9_R2.java

2
MultiArena-TheBridge/plugin.yml

@ -1,6 +1,6 @@
main: cx.sfy.TheBridge.Main
name: TheBridge
version: 2.4.5-BETA_3
version: 2.4.5
authors: [Stefatorus, pintux98, Leonardo0013YT]
softdepend: [PlaceholderAPI, LeaderHeads, FastAsyncWorldEdit, WorldEdit]
commands:

2
MultiArena-TheBridge/pom.xml

@ -6,7 +6,7 @@
<groupId>TheBridge</groupId>
<artifactId>TheBridge</artifactId>
<version>2.4.5-BETA_3</version>
<version>2.4.5</version>
<name>TheBridge</name>
<packaging>jar</packaging>

6
MultiArena-TheBridge/src/cx/sfy/TheBridge/hologram/TruenoHologram_v1_10_R1.java

@ -41,10 +41,12 @@ public class TruenoHologram_v1_10_R1 implements TruenoHologram{
}
@Override
public Location getLocation(){
return this.location;
}
@Override
public Player getPlayer(){
return player;
}
@ -125,6 +127,7 @@ public class TruenoHologram_v1_10_R1 implements TruenoHologram{
spawn();
}
@Override
public void update(ArrayList<String> lines){
if(this.player != null){
int ind = 0;
@ -218,6 +221,7 @@ public class TruenoHologram_v1_10_R1 implements TruenoHologram{
}
}
@Override
public void updateLine(int index, String text){
if(this.lines.size() >= index){
int realindex = (this.lines.size()-1)-index;
@ -256,6 +260,7 @@ public class TruenoHologram_v1_10_R1 implements TruenoHologram{
}
@Override
public void removeLine(int index){
if(this.lines.size() >= index){
int realindex = (this.lines.size()-1)-index;
@ -271,6 +276,7 @@ public class TruenoHologram_v1_10_R1 implements TruenoHologram{
}
}
@Override
public void delete(){
despawn();
this.player = null;

6
MultiArena-TheBridge/src/cx/sfy/TheBridge/hologram/TruenoHologram_v1_11_R1.java

@ -41,10 +41,12 @@ public class TruenoHologram_v1_11_R1 implements TruenoHologram{
}
@Override
public Location getLocation(){
return this.location;
}
@Override
public Player getPlayer(){
return player;
}
@ -125,6 +127,7 @@ public class TruenoHologram_v1_11_R1 implements TruenoHologram{
spawn();
}
@Override
public void update(ArrayList<String> lines){
if(this.player != null){
int ind = 0;
@ -218,6 +221,7 @@ public class TruenoHologram_v1_11_R1 implements TruenoHologram{
}
}
@Override
public void updateLine(int index, String text){
if(this.lines.size() >= index){
int realindex = (this.lines.size()-1)-index;
@ -256,6 +260,7 @@ public class TruenoHologram_v1_11_R1 implements TruenoHologram{
}
@Override
public void removeLine(int index){
if(this.lines.size() >= index){
int realindex = (this.lines.size()-1)-index;
@ -271,6 +276,7 @@ public class TruenoHologram_v1_11_R1 implements TruenoHologram{
}
}
@Override
public void delete(){
despawn();
this.player = null;

6
MultiArena-TheBridge/src/cx/sfy/TheBridge/hologram/TruenoHologram_v1_12_R1.java

@ -41,10 +41,12 @@ public class TruenoHologram_v1_12_R1 implements TruenoHologram{
}
@Override
public Location getLocation(){
return this.location;
}
@Override
public Player getPlayer(){
return player;
}
@ -125,6 +127,7 @@ public class TruenoHologram_v1_12_R1 implements TruenoHologram{
spawn();
}
@Override
public void update(ArrayList<String> lines){
if(this.player != null){
int ind = 0;
@ -218,6 +221,7 @@ public class TruenoHologram_v1_12_R1 implements TruenoHologram{
}
}
@Override
public void updateLine(int index, String text){
if(this.lines.size() >= index){
int realindex = (this.lines.size()-1)-index;
@ -256,6 +260,7 @@ public class TruenoHologram_v1_12_R1 implements TruenoHologram{
}
@Override
public void removeLine(int index){
if(this.lines.size() >= index){
int realindex = (this.lines.size()-1)-index;
@ -271,6 +276,7 @@ public class TruenoHologram_v1_12_R1 implements TruenoHologram{
}
}
@Override
public void delete(){
despawn();
this.player = null;

8
MultiArena-TheBridge/src/cx/sfy/TheBridge/hologram/TruenoHologram_v1_8_R3.java

@ -41,10 +41,12 @@ public class TruenoHologram_v1_8_R3 implements TruenoHologram{
}
@Override
public Location getLocation(){
return this.location;
}
@Override
public Player getPlayer(){
return player;
}
@ -124,7 +126,8 @@ public class TruenoHologram_v1_8_R3 implements TruenoHologram{
public void display(){
spawn();
}
@Override
public void update(ArrayList<String> lines){
if(this.player != null){
int ind = 0;
@ -218,6 +221,7 @@ public class TruenoHologram_v1_8_R3 implements TruenoHologram{
}
}
@Override
public void updateLine(int index, String text){
if(this.lines.size() >= index){
int realindex = (this.lines.size()-1)-index;
@ -256,6 +260,7 @@ public class TruenoHologram_v1_8_R3 implements TruenoHologram{
}
@Override
public void removeLine(int index){
if(this.lines.size() >= index){
int realindex = (this.lines.size()-1)-index;
@ -271,6 +276,7 @@ public class TruenoHologram_v1_8_R3 implements TruenoHologram{
}
}
@Override
public void delete(){
despawn();
this.player = null;

6
MultiArena-TheBridge/src/cx/sfy/TheBridge/hologram/TruenoHologram_v1_9_R2.java

@ -41,10 +41,12 @@ public class TruenoHologram_v1_9_R2 implements TruenoHologram{
}
@Override
public Location getLocation(){
return this.location;
}
@Override
public Player getPlayer(){
return player;
}
@ -125,6 +127,7 @@ public class TruenoHologram_v1_9_R2 implements TruenoHologram{
spawn();
}
@Override
public void update(ArrayList<String> lines){
if(this.player != null){
int ind = 0;
@ -218,6 +221,7 @@ public class TruenoHologram_v1_9_R2 implements TruenoHologram{
}
}
@Override
public void updateLine(int index, String text){
if(this.lines.size() >= index){
int realindex = (this.lines.size()-1)-index;
@ -256,6 +260,7 @@ public class TruenoHologram_v1_9_R2 implements TruenoHologram{
}
@Override
public void removeLine(int index){
if(this.lines.size() >= index){
int realindex = (this.lines.size()-1)-index;
@ -271,6 +276,7 @@ public class TruenoHologram_v1_9_R2 implements TruenoHologram{
}
}
@Override
public void delete(){
despawn();
this.player = null;

Loading…
Cancel
Save