summaryrefslogtreecommitdiffstats
path: root/EssentialsProtect/src/com/earth2me/essentials/protect/data/OwnedBlock.java
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2011-06-06 22:29:08 +0200
committersnowleo <schneeleo@gmail.com>2011-06-06 22:29:08 +0200
commit275c865de38afe5ceea3f0ae9dfad56c3bb65edf (patch)
tree7f2e1a63908c8d87259df53901003eab700bf648 /EssentialsProtect/src/com/earth2me/essentials/protect/data/OwnedBlock.java
parent3586bffc3a752cc0f3faccc8915ec80b7e3cd524 (diff)
downloadEssentials-275c865de38afe5ceea3f0ae9dfad56c3bb65edf.tar
Essentials-275c865de38afe5ceea3f0ae9dfad56c3bb65edf.tar.gz
Essentials-275c865de38afe5ceea3f0ae9dfad56c3bb65edf.tar.lz
Essentials-275c865de38afe5ceea3f0ae9dfad56c3bb65edf.tar.xz
Essentials-275c865de38afe5ceea3f0ae9dfad56c3bb65edf.zip
Major cleanup of the Protect code
Diffstat (limited to 'EssentialsProtect/src/com/earth2me/essentials/protect/data/OwnedBlock.java')
-rw-r--r--EssentialsProtect/src/com/earth2me/essentials/protect/data/OwnedBlock.java19
1 files changed, 14 insertions, 5 deletions
diff --git a/EssentialsProtect/src/com/earth2me/essentials/protect/data/OwnedBlock.java b/EssentialsProtect/src/com/earth2me/essentials/protect/data/OwnedBlock.java
index b9b036798..dea124b58 100644
--- a/EssentialsProtect/src/com/earth2me/essentials/protect/data/OwnedBlock.java
+++ b/EssentialsProtect/src/com/earth2me/essentials/protect/data/OwnedBlock.java
@@ -1,9 +1,18 @@
package com.earth2me.essentials.protect.data;
public class OwnedBlock {
- int x;
- int y;
- int z;
- String world;
- String playerName;
+ final int x;
+ final int y;
+ final int z;
+ final String world;
+ final String playerName;
+
+ public OwnedBlock(int x, int y, int z, String world, String playerName)
+ {
+ this.x = x;
+ this.y = y;
+ this.z = z;
+ this.world = world;
+ this.playerName = playerName;
+ }
}